Method: Wake::EventHandler::EM#refresh

Defined in:
lib/wake/event_handlers/em.rb

#refresh(monitored_paths) ⇒ Object

Rebuilds file bindings.

will detach all current bindings, and reattach the monitored_paths



150
151
152
153
# File 'lib/wake/event_handlers/em.rb', line 150

def refresh(monitored_paths)
  @monitored_paths = monitored_paths
  attach
end