Method: Listen::Adapter::Base#start

Defined in:
lib/listen/adapter/base.rb

#startObject



54
55
56
57
58
59
60
61
62
63
64
65
# File 'lib/listen/adapter/base.rb', line 54

def start
  configure
  calling_stack = caller.dup
  Listen::Internals::ThreadPool.add do
    begin
      _run
    rescue
      _log_exception "run() in thread failed: %s:\n %s\n\ncalled from:\n %s", calling_stack
      raise
    end
  end
end