diff options
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/sprockets/assets.rake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/actionpack/lib/sprockets/assets.rake b/actionpack/lib/sprockets/assets.rake index 15cba0c475..e2536e4ac1 100644 --- a/actionpack/lib/sprockets/assets.rake +++ b/actionpack/lib/sprockets/assets.rake @@ -51,6 +51,11 @@ namespace :assets do task :all do Rake::Task["assets:precompile:primary"].invoke + # We need to reinvoke in order to run the secondary digestless + # asset compilation run - a fresh Sprockets environment is + # required in order to compile digestless assets as the + # environment has already cached the assets on the primary + # run. ruby_rake_task "assets:precompile:nondigest" if Rails.application.config.assets.digest end |