Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work on macOS. #6

Open
sthonnard opened this issue Feb 25, 2018 · 0 comments
Open

Does not work on macOS. #6

sthonnard opened this issue Feb 25, 2018 · 0 comments

Comments

@sthonnard
Copy link

Hello,

I am running macOS High Sierra (10.13.3). The plugin is correctly executed according to the log but nothing happens when a file arrives in the folder it is supposed to monitor.

I think it comes from a problem between chokidar and macOS Events API. I achieved to make the plugin work by changing the way chokidar is instantiated in index.js. I specified the following options: persistent: true, useFsEvents:false.

var watcher = chokidar.watch(this.path, {persistent: true, useFsEvents:false});

I use it since two days. It works very well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant