Skip to content

Commit 63dd5be

Browse files
committed
Fixed rake clear, it now purges the cache of compiled javascripts.
1 parent f0a2ad4 commit 63dd5be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/tasks/clear.rake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ desc "Clear cache"
55
task "clear:cache" => :environment do
66
CacheWatcher.expire
77
SharedFragmentWatcher.render
8+
Dir["#{RAILS_ROOT}/public/javascripts/cache/*"].each { |filename| rm filename }
89
end

0 commit comments

Comments
 (0)