本文介绍了Grunt手表错误 - 正在等待...致命错误:观看ENOSPC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
为什么当我运行监视任务时,出现等待...致命错误:观看ENOSPC ? 如何解决此问题?
Why do I get the Waiting...Fatal error: watch ENOSPC when I run the watch task ? How do I solve this issue?
推荐答案感谢jonshf的评论。
Thanks jonshf for your comments.
在做了一些研究后找到了解决方案。运行以下命令。
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对于Arch Linux,将此行添加到/etc/sysctl.d/99-sysctl .conf:
For Arch Linux add this line to /etc/sysctl.d/99-sysctl.conf:
fs.inotify.max_user_watches = 524288
fs.inotify.max_user_watches=524288
更多推荐
Grunt手表错误
发布评论