📅  最后修改于: 2022-03-11 14:55:34.291000             🧑  作者: Mango
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
}