directory watcher fixed on OSX