Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add EM.kqueue=true to the EM.watch_file example

  • Loading branch information...
commit d1362b3db3d6b714fe755a237abf5ed3cb3059dd 1 parent 1137fae
Aman Gupta tmm1 authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/eventmachine.rb
2  lib/eventmachine.rb
View
@@ -1323,6 +1323,8 @@ def self.open_keyboard handler=nil, *args
# end
# end
#
+ # EM.kqueue = true if EM.kqueue? # file watching requires kqueue on OSX
+ #
# EM.run {
# EM.watch_file("/tmp/foo", Handler)
# }
Please sign in to comment.
Something went wrong with that request. Please try again.