Visual Studio: Code is unable to watch for file changes in this large workspace

1.

cat /proc/sys/fs/inotify/max_user_watches

2.进入/etc

用vim打开sysctl.conf,没有vim下载一下,vscode会有提示,然后编辑,在最下面一行加入:

fs.inotify.max_user_watches=524288

容易忽略的问题

vim,1.一定要sudo vim xxx

          2. 点击i进入编辑,

          3.编辑后按esc键退出编辑

          4.点击“:”键,然后wq保存并退出

发布了14 篇原创文章 · 获赞 0 · 访问量 82

猜你喜欢

转载自blog.csdn.net/qq_39837804/article/details/103980533