Fuse is getting stuck on MacOSX

I’m working on a project with Fuse, and every time it gets stuck with this message:

Too many open files. Retrying in background until problem is resolved.

I have to close Fuse with fuse kill-all command and restart the build.

I noted that this problem ocours after some time working, and when I save the project it starts to reload automatically as expected and shows me this message. Some times, Fuse close unexpectedly

I’m using
Fuse version 1.2.1 (build 13974)
MacOS Sierra Version 10.12.6 (16G29) MacBook Pro 2017

Does any one had this problem? How can I solve this?
I don’t know if I was clear enough to post it. Any questions, I’m here to answer.
Thank you.

Please see if this suggestion helps you.

I’ve tried this Excludes, but my modules used by the node_modules folder stop working. What is the correct use of Excludes?

As explained in docs, you should specify both which files to include, and which to exclude.

Hi Uldis, I made this Excludes mode as explained in docs. But the error Too many open files. Retrying in background until problem is resolved. keep showing up while working on Fuse. Any other sugestion to solve this?

Did you try running ulimit -n 2048 to set that to a higher value?