解决"Visual Studio Code is unable to watch for file changes in this large workspace" (error

运行

cat /proc/sys/fs/inotify/max_user_watches

  查看现在的大小

解决"Visual Studio Code is unable to watch for file changes in this large workspace" (error

 

 修改/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

上一篇:今日收获---inotify监控是否有新文件生成


下一篇:Stata热锅蚂蚁转圈问题