Skip to content

Instantly share code, notes, and snippets.

@brunoleles
Forked from devhero/node_watch_ENOSPC.js
Last active October 30, 2017 20:43
Show Gist options
  • Save brunoleles/894fd8f7b53ea69e4ed8d75691bb5495 to your computer and use it in GitHub Desktop.
Save brunoleles/894fd8f7b53ea69e4ed8d75691bb5495 to your computer and use it in GitHub Desktop.
Error: watch ENOSPC

Gulp Watch Error "ENOSPC"

Execute:

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

You should see something like:

fs.inotify.max_user_watches=524288
fs.inotify.max_user_watches = 524288

Done :]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment