yarn dev提示 "ENOSPC: System limit for number of file watchers reached"解决办法

在/etc/sysctl.d/目录下新建max_user_watches.conf文件,新增
fs.inotify.max_user_watches = 524288
执行
sudo sysctl -p --system
即可.

原文地址:https://www.cnblogs.com/reboot777/p/13494398.html