mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Clear cache before of each precompile to avoid inconsistencies. Fixes #3014
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user