lib/guard/livereload/reactor.rb in guard-livereload-1.2.0 vs lib/guard/livereload/reactor.rb in guard-livereload-1.2.1
- old
+ new
@@ -33,9 +33,10 @@
private
def start_threaded_reactor(options)
Thread.new do
+ EventMachine.epoll
EventMachine.run do
UI.info "LiveReload is waiting for a browser to connect."
EventMachine.start_server(options[:host], 35729, WebSocket, {}) do |ws|
ws.onopen do
begin