Visual Studio Code is unable to watch for file changes in this large workspace
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
}