diff --git a/src/ui/tray.rb b/src/ui/tray.rb index 733d7338..13fee135 100644 --- a/src/ui/tray.rb +++ b/src/ui/tray.rb @@ -676,7 +676,7 @@ def stop_watch @tray_item.image = @standby_icon SimpleLivereload.instance.unwatch if defined?(SimpleLivereload) SimpleHTTPServer.instance.stop if defined?(SimpleHTTPServer) - FSEvent.stop_all_instances if Object.const_defined?("FSEvent") && FSEvent.methods.include?("stop_all_instances") + FSEvent.stop_all_instances if Object.const_defined?("FSEvent") && FSEvent.methods.include?(:stop_all_instances) end end