Monitor a directory for changes and run a shell command, using OS X's FSEvents API