-
-
Notifications
You must be signed in to change notification settings - Fork 245
Error: EMFILE: too many open files #859
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
Comments
👋 I'm also running into this, but specifically only after updating to Looking at v9.0.3...v9.1.0 leads me to suspect 147aa11 is the cause? I see paulmillr/chokidar#1369, which discusses EMFILE issues in v4. |
Same here! rolling back to |
Thanks @MattIPv4 for the solution! 🙌 |
I don't have a PR to fix the issue -- I'm not sure what the best fix would be, perhaps using graceful-fs, but I leave that to the maintainers. |
Fwiw, there are two watchOptions: {
ignored: /node_modules/,
}, watchOptions: {
poll: 1000,
}, |
+1 |
Current behavior
When using plugin on macOS, the following error occurs after a dev build, in projects with many files:
This error seems to be related to the chokidar file watcher used internally, likely due to hitting macOS restrictions on open file descriptors.
Expected behavior
There should be no EMFILE: too many open files error during plugin execution on macOS.
Steps to reproduce the issue
Environment
The text was updated successfully, but these errors were encountered: