Skip to content

Commit

Permalink
issue #487: omit logger.debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinDKelley committed Oct 30, 2020
1 parent 97f2101 commit c53ef9f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/listen/adapter/darwin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@ def _run
dirs_to_watch = @callbacks.keys.map(&:to_s)
Listen.logger.info { "fsevent: watching: #{dirs_to_watch.inspect}" }
worker.watch(dirs_to_watch, { latency: options.latency }, &method(:_process_changes))
@worker_thread = Listen::Thread.new("worker_thread") do
_log(:debug) { "fsevent: running worker: #{worker.inspect}" }
worker.run
end
@worker_thread = Listen::Thread.new("worker_thread") { worker.run }
end

def _process_changes(dirs)
Expand Down

0 comments on commit c53ef9f

Please sign in to comment.