Poor perf due to permissive filesWatcherInclude?
#792
-
|
The default settings have: "vitest.filesWatcherInclude": "**/*",I'm using linux. I already have a very large number of watchers due to the IDE itself, multiple dev servers, etc. I'd like to avoid having even more due to the extension.
Any advice would be appreciated... Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hello! Yes, the extension watches every file including |
Beta Was this translation helpful? Give feedback.
Hello!
Yes, the extension watches every file including
.gitandnode_modules. We ignore those events, but they are reported by vscode. You should always include tests folders. You should include the source code, if you are using continuous run. This setting is not irrelevant if you are not using continuous run because it updates the test tree when you change/delete/add a test file.