class Syntropy::Router
def file_watcher_loop
def file_watcher_loop wf = @opts[:watch_files] period = wf.is_a?(Numeric) ? wf : 0.1 Syntropy.file_watch(@machine, @root, period: period) do |event, fn| handle_changed_file(event, fn) rescue Exception => e p e p e.backtrace exit! end end