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

0

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
  }
Posted by: Guest on July-07-2021

Code answers related to "Visual Studio Code is unable to watch for file changes in this large workspace"

Browse Popular Code Answers by Language