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

fsevents support #2

Open
shellscape opened this issue Aug 17, 2019 · 4 comments
Open

fsevents support #2

shellscape opened this issue Aug 17, 2019 · 4 comments

Comments

@shellscape
Copy link

Ahoy. It's been mentioned in a few places (most recently rollup/rollup#2988) that one of the primary benefits of chokidar over cheap-watch is fsevents support, which is natively available on MacOS. The Rollup team is exploring which watching library would be most beneficial to include by default, and while this is by no means a competition, during weighting of directions the lack of fsevents support in cheap-watch did get raised.

I'm curious if supporting fsevents is something you'd be interested in for this lib.

@paulocoghi
Copy link

paulocoghi commented Aug 18, 2019

As a heavy user of cheap-watch (and previously a chokidar user as well), my 2 cents in this case is that cheap-watch works perfectly on all operating systems, incuding MacOS, even not using fsevents, and I don't identify any issues regarding different resource usage.

@shellscape
Copy link
Author

@paulocoghi a user in rollup/rollup#2988 has posted a reproduction and some numbers that seem to indicate that using fsevents on MacOS would be a big boon to performance. I ran the gist provided and can confirm similarities to the numbers. There's a pretty stark difference.

@paulocoghi
Copy link

@shellscape , you are right! :)

@paulocoghi
Copy link

Edited my first comment. I was wrong, initially, and I recognize using fsevents on MacOS helps using less memory and provides better performance.

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

2 participants