vendor/fssm/lib/fssm/backends/fsevents.rb in sass-3.2.0.alpha.11 vs vendor/fssm/lib/fssm/backends/fsevents.rb in sass-3.2.0.alpha.21
- old
+ new
@@ -8,10 +8,10 @@
end
def add_handler(handler, preload=true)
@handlers[handler.path.to_s] = handler
- fsevent = Rucola::FSEvents.new(handler.path.to_s, {:latency => 0.5}) do |events|
+ fsevent = Rucola::FSEvents.new(handler.path.to_s, {:latency => 0.5}) do |events|
events.each do |event|
handler.refresh(event.path)
end
end