Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert to polling on Mac. Use OS events on Linux and Windows. Eventually I wanna get rid off polling even on Mac, however it's not ready yet. See: https://github.com/pipobscure/fsevents/issues/17 paulmillr/chokidar#87 Basically reverts e88fbc2.
- Loading branch information
66f50d7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On current macOS (I'm on Sierra 10.12.4), it works very well now to have
usePolling
set to false; in fact, it works much better than polling and uses dramatically less CPU. Should this runtime-setting be revisited?