Skip to content

Commit

Permalink
Exclude terraform cache from file watcher
Browse files Browse the repository at this point in the history
This adds the `.terraform` cache directory to the file watcher exclude list by default. A user can override this by configuring `files.watcherExclude` in their user or workspace settings file.

Closes #405
  • Loading branch information
jpogran committed Jan 5, 2022
1 parent 2ddeaa9 commit f1eabed
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@
"path": "./snippets/terraform.json"
}
],
"configurationDefaults": {
"files.watcherExclude": {
"**/.terraform/*/**": true
}
},
"configuration": {
"type": "object",
"title": "Terraform",
Expand Down

0 comments on commit f1eabed

Please sign in to comment.