首页 > 其他分享> > 解决"Visual Studio Code is unable to watch for file changes in this large workspace" (error
解决"Visual Studio Code is unable to watch for file changes in this large workspace" (error
作者:互联网
运行
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
标签:code,sysctl,file,unable,watch,fs,watches,Code,workspace 来源: https://www.cnblogs.com/weikunpeng/p/14332132.html