📌  相关文章
📜  Visual Studio Code 无法监视此大型工作区中的文件更改 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:34.291000             🧑  作者: Mango

代码示例1
The solution I found and it's work for me is

add this line fs.inotify.max_user_watches=524288 in to /etc/sysctl.conf

and then run the command sudo sysctl -p

and then go to your vscode settings find a file called settings.json

and this line to it


"files.watcherExclude": {
    "**/.git/objects/**": true,
    "**/.git/subtree-cache/**": true,
    "**/node_modules/*/**": true
  }