expire index every time - fixes #13
This commit is contained in:
parent
85b27d3747
commit
8faa2f4add
@ -47,6 +47,7 @@ module Guard
|
|||||||
return false unless @@rails_booted
|
return false unless @@rails_booted
|
||||||
begin
|
begin
|
||||||
Rake::Task['assets:clean'].execute
|
Rake::Task['assets:clean'].execute
|
||||||
|
::Rails.application.assets.instance_eval { expire_index! }
|
||||||
Rake::Task['assets:precompile'].execute
|
Rake::Task['assets:precompile'].execute
|
||||||
true
|
true
|
||||||
rescue => e
|
rescue => e
|
||||||
|
Loading…
Reference in New Issue
Block a user