Add comments on duplicate calls to compile_assets
This commit is contained in:
5
rakefile
5
rakefile
@@ -245,8 +245,13 @@ end
|
|||||||
desc
|
desc
|
||||||
task system, [:env, :options] => [:predjango] do |t, args|
|
task system, [:env, :options] => [:predjango] do |t, args|
|
||||||
args.with_defaults(:env => 'dev', :options => default_options[system])
|
args.with_defaults(:env => 'dev', :options => default_options[system])
|
||||||
|
|
||||||
|
# Compile all assets first
|
||||||
compile_assets(watch=false, debug=true)
|
compile_assets(watch=false, debug=true)
|
||||||
|
|
||||||
|
# Listen for any changes to assets
|
||||||
compile_assets(watch=true, debug=true)
|
compile_assets(watch=true, debug=true)
|
||||||
|
|
||||||
sh(django_admin(system, args.env, 'runserver', args.options))
|
sh(django_admin(system, args.env, 'runserver', args.options))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user