Method: Spring::Application#start_watcher

Defined in:
lib/spring/application.rb

#start_watcherObject



67
68
69
70
71
# File 'lib/spring/application.rb', line 67

def start_watcher
  @watcher = Spring.watcher
  @watcher.on_stale { state! :watcher_stale }
  @watcher.start
end