JuliaLang/julia — pull request #4210 by blakejohnson (2013-09-04 21:07:06+00:00)
Title: file system event watching fixes

Export `watch_file`, as this is the easiest API entry point between `FileMonitor`
and `PollingFileMonitor`.

Fix `_uv_hook_fseventscb` such that the `Condition` is notified even if no callback
is in the `FileMonitor`. Also fix the value sent to `notify` to match the expected
return value in `wait`.