Gulp Error: watch ENOSPC

Uncleared error messages can be really time consuming sometimes.

I was getting Gulp Error: watch ENOSPC, googled and tried different solutions with no success, then finally found a solution at following link:

Error case:

There is the limit in the number of files that can be watched in a system. We have to increase this number. The below command can be used to increase this number.

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


About the author

Danyal Ali Butt

I'm working as programmer since 2002. Born, grew up, studied and worked in Pakistan now Im located in Denmark since 2006.

View all posts