Permalink
Browse files

expire index every time - fixes #13

  • Loading branch information...
1 parent 85b27d3 commit 8faa2f4add38eca0593f89cce9b0b05e6f80ac47 @dnagir committed Sep 20, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 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

0 comments on commit 8faa2f4

Please sign in to comment.