Gulp Error: watch ENOSPC

浪尽此生 提交于 2019-12-01 04:00:14

From http://www.samundra.com.np/solved-gulp-watch-error-enospc/1386 Try this: Why this issue occured? 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

Related Links https://github.com/gulpjs/gulp/issues/217

It worked for me. Or decrease the number of files your watcher needs to watch.

You have to increase your number of watched files in your system config. Run this command and it will work for you

echo fs.inotify.max_user_watches=582222 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!