解决"Visual Studio Code is unable to watch for file changes in this large workspace" (error ENOSPC)
运行
cat /proc/sys/fs/inotify/max_user_watches
查看现在的大小

修改/etc/sysctl.conf,在最后一行添加
fs.inotify.max_user_watches=524288
执行
sudo sysctl -p
来源:
https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc
浙公网安备 33010602011771号