-
-
Notifications
You must be signed in to change notification settings - Fork 586
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
Only build FSEvents when using MacOS #1024
Comments
I don't see a way to solve this in chokidar. Report this to NPM or Yarn. We specify supported platforms in fsevents package.json, these bundlers should understand this. |
FYI for any who arrive here looking at the same sort of issue, this issue does have a bug report on NPM, though I don't know that anybody from the NPM team itself has looked at it, since I don't see any comments written by one of them yet. I don't much like the workarounds for the issue, either, but I figure that I could stick a link to the issue here for any who are interested: |
Would previously flake due to originally non-existant directory being created too quickly or due to not waiting for all 5 events to fire
Describe the bug
NPM and Yarn log a warning message saying that the FSEvents build was skipped when running on Linux and Windows machines (this is a duplicate of #460). This is expected.
Ideally, though,
chokidar
would be smart enough to avoid this warning (when it is expected) by only installing and building FSEvents when the user is on MacOS.Versions (please complete the following information):
To Reproduce:
chokidar
using Yarn v2 (or NPM, the warning should still be there).Expected behavior
FSEvents should only be installed, built, and used when the user is on MacOS (thus avoiding this warning to begin with).
The text was updated successfully, but these errors were encountered: