vscode修改文件监控数

介绍

::: danger Error: ENOSPC: System limit for number of file watchers reached :::

解决办法

sudo gedit /etc/sysctl.conf
# 在最后加上
fs.inotify.max_user_watches=524288
# 运行命令
sudo sysctl -p

参考

Last updated