-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
fix: Handle ENOSPC error from chokidar #2725
Conversation
Now listens to the error event to check if "ENOSPC" occurrs. The watcher will then automaticly restart in polling mode, so that the user still sees his reqeusts / collections. Fixes: usebruno#1877
Hey @Its-treason, thanks again for taking the time to fix this issue. The code changes look good. We are currently testing the changes and will get this merged soon! |
…d update error message
Merged! Thanks @Its-treason for adding helpful messages in the code. |
What release is that part of? Because I have just installed Bruno and I still get the error. OS X, v1.25.0 |
In 1.25.0 Could you start Bruno inside your Terminal and check what the error message / code is? |
You mean with I tried and I noticed there are a lot of
And then I noticed I have a lot of json files in the same folder (the result of past test runs). Moving them resolves the issue, thanks. But I am not sure why Bruno is watching json files, shouldn't it limit itself to .bru? Regardless, problem solved, thanks for your quick reply |
The I'm also not sure why Bruno watches all files, instead of just needed ones, but this could probably be optimised later. |
Now listens to the error event to check if "ENOSPC" occurs. The watcher will then automatically restart in polling mode, so that the user still sees his requests / collections.
Fixes: #1877