make sure sprockets gets cleared out when done
This commit is contained in:
parent
5228619a98
commit
87771b070c
@ -95,6 +95,8 @@ module Flowerbox
|
||||
raise RunnerDiedError.new if attempts == 0
|
||||
|
||||
Flowerbox.server = nil
|
||||
ensure
|
||||
@sprockets.reset!
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -69,6 +69,10 @@ module Flowerbox
|
||||
|
||||
raise LogicalPathNotFoundError.new("Could not find logical path for #{asset_path}")
|
||||
end
|
||||
|
||||
def reset!
|
||||
@environment.send(:expire_index!)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user