Skip to content

Instantly share code, notes, and snippets.

@fsgreco
Created January 16, 2021 10:01
Show Gist options
  • Save fsgreco/2b77b40bf2e5f21457349783b4a8d85a to your computer and use it in GitHub Desktop.
Save fsgreco/2b77b40bf2e5f21457349783b4a8d85a to your computer and use it in GitHub Desktop.
in order to improve performance on vscode exclude these files from the watcher adding this lines to the settings.
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/**": true,
"**/package-lock.json": true,
"**/tmp/**": true,
"**/.git": true,
"**/.svn": true,
"**/node_modules": true,
"**/public/**": true,
"**/dist/**": true,
"**/*.min.*": true,
"**/vendor/**": true,
"**/.cache/**": true,
"**/cache/**": true,
"**/log/**": true,
"**/wp-admin/**": true,
"**/wp-includes/**": true,
"**/uploads/**/**/*-[0-9]*x[0-9]*.*": true,
},
"search.exclude": {
"**/package-lock.json": true,
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/**": true,
"**/tmp/**": true,
"**/.git": true,
"**/.svn": true,
"**/node_modules": true,
"**/public/**": true,
"**/dist/**": true,
"**/vendor/**": true,
"**/.cache/**": true,
"**/cache/**": true,
"**/log/**": true,
"**/wp-admin/**": true,
"**/wp-includes/**": true,
"**/uploads/**/**/*-[0-9]*x[0-9]*.*": true,
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment