Grunt watch 错误 - 等待...致命错误:观看 ENOSPC [英] Grunt watch error - Waiting...Fatal error: watch ENOSPC
本文介绍了Grunt watch 错误 - 等待...致命错误:观看 ENOSPC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Why do I get the Waiting...Fatal error: watch ENOSPC
when I run the watch task ?
How do I solve this issue?
解决方案
After doing some research found the solution. Run the below command.
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
For Arch Linux add this line to /etc/sysctl.d/99-sysctl.conf:
fs.inotify.max_user_watches=524288
这篇关于Grunt watch 错误 - 等待...致命错误:观看 ENOSPC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文