diff --git a/rakefile b/rakefile index ae5dab2bb8..dc123db3f8 100644 --- a/rakefile +++ b/rakefile @@ -245,8 +245,13 @@ end desc task system, [:env, :options] => [:predjango] do |t, args| args.with_defaults(:env => 'dev', :options => default_options[system]) + + # Compile all assets first compile_assets(watch=false, debug=true) + + # Listen for any changes to assets compile_assets(watch=true, debug=true) + sh(django_admin(system, args.env, 'runserver', args.options)) end