emcrisostomo / fswatch

A cross-platform file change monitor with multiple backends: Apple OS X File System Events, *BSD kqueue, Solaris/Illumos File Events Notification, Linux inotify, Microsoft Windows and a stat()-based backend.
https://emcrisostomo.github.io/fswatch/
GNU General Public License v3.0
5.02k stars 327 forks source link

File System Events monitor broken on OS X Yosemite #85

Closed ghost closed 9 years ago

ghost commented 9 years ago

Using fswatch with the default monitor (fsevents_monitor) on OS X Yosemite does not produce any output. The poll_monitor and kqueue_monitor do work.

Related to issue #61, though I tried restarting and it still doesn't work.

Ouput of otool -L /usr/local/bin/fswatch:

/usr/local/bin/fswatch:
    /usr/local/Cellar/fswatch/1.4.7/lib/libfswatch.0.dylib (compatibility version 2.0.0, current version 2.0.0)
    /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 62.0.0)
    /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)
emcrisostomo commented 9 years ago

Hi @samvv,

The latest OS X is the current development environment for fswatch and I'm not able to reproduce the problem you describe. How did you install fswatch?

ghost commented 9 years ago

Hmm might be related to my set-up then ... I did a simple brew install fswatch.

I solved the issue temporarily by changing the default monitor to kqueue with alias fswatch='fswatch -m kqueue_monitor.