Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

expire index every time - fixes #13

  • Loading branch information...
commit 8faa2f4add38eca0593f89cce9b0b05e6f80ac47 1 parent 85b27d3
@dnagir authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/guard/rails-assets/rails_runner.rb
View
1  lib/guard/rails-assets/rails_runner.rb
@@ -47,6 +47,7 @@ def compile_assets
return false unless @@rails_booted
begin
Rake::Task['assets:clean'].execute
+ ::Rails.application.assets.instance_eval { expire_index! }
Rake::Task['assets:precompile'].execute
true
rescue => e
Please sign in to comment.
Something went wrong with that request. Please try again.