mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #3015 from guilleiguaran/clear-tmp-cache-on-precompile
Clear cache before of each precompile to avoid inconsistencies. Fixes #3014
This commit is contained in:
commit
63f6fad644
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ namespace :assets do
|
|||
Kernel.exec $0, *ARGV
|
||||
else
|
||||
Rake::Task["environment"].invoke
|
||||
Rake::Task["tmp:cache:clear"].invoke
|
||||
|
||||
# Ensure that action view is loaded and the appropriate sprockets hooks get executed
|
||||
ActionView::Base
|
||||
|
|
Loading…
Reference in a new issue