diff --git a/lib/listen/event/loop.rb b/lib/listen/event/loop.rb index 6b36627a..9b6e2ebf 100644 --- a/lib/listen/event/loop.rb +++ b/lib/listen/event/loop.rb @@ -52,7 +52,7 @@ def start Listen.logger.debug("Waiting for processing to start...") - wait_for_state(:started, MAX_STARTUP_SECONDS) or + wait_for_state(:started, timeout: MAX_STARTUP_SECONDS) or raise Error::NotStarted, "thread didn't start in #{MAX_STARTUP_SECONDS} seconds (in state: #{state.inspect})" Listen.logger.debug('Processing started.')