Gulp-watch failing with ENOSPC, increase fs.inotify.max_user_watches



Trying to run a service that uses gulp-watch to track multiple files, starting it fails with:

Error: watch <...> ENOSPC

Looks like the workaround would be:

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

But that complains about read-only filesystem in the circleci/node:7.10.1-browsers docker.

How to avoid ENOSPC errors in Circle CI with React Native?

Adding to the thread myself: looks like (other than not using gulp-watch) would be to use the machine executor and have full control over the environment.


This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.