lib/reloadlive/config.rb in reloadlive-1.0.2 vs lib/reloadlive/config.rb in reloadlive-1.0.3

- old
+ new

@@ -46,10 +46,10 @@ end def thread t = Thread.new do client = Faye::Client.new("http://localhost:#{options['port']}/faye") - listener = Listen::MultiListener.new(*dirs) do |modified, added, removed| + listener = Listen::Listener.new(*dirs) do |modified, added, removed| filename = modified.first ? modified.first : added.first ? added.first : last_file_changed return if binary? filename render = Render.new(File.basename(filename), File.read(filename))