Method: Watchr::EventHandler::Darwin#refresh
- Defined in:
- lib/watchr/event_handlers/darwin.rb
#refresh(monitored_paths) ⇒ undefined
Rebuild file bindings. Will detach all current bindings, and reattach the monitored_paths
51 52 53 54 |
# File 'lib/watchr/event_handlers/darwin.rb', line 51 def refresh(monitored_paths) register_paths(monitored_paths) restart end |