joyent/libuv — pull request #958 by indutny (2013-10-20 18:59:34+00:00)
Title: fsevents: poll when FSEvents fail

As Apple documentation for FSEvents suggests, we should fall-back to
polling directory for changes when `FSEventStreamStart()` fails and
returns `false`.

The fall-back has one drawback though - it doesn't work for
subdirectories.

/cc @bnoordhuis