New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vitest doesn't ignore webstorm / vscode folders #442
Comments
What file under |
Workspaces.xml |
Could you post a log of the crash? I'm using Vitest and Webstorm together without any issues. |
I will need a minimal reproduction repo. |
https://github.com/davidmeirlevy/demo-vue-vitest Run it on Webstorm in order to create the |
I guess the docs are wrong, since default value is this right now: [
'**/node_modules/**',
'**/dist/**',
'**/cypress/**',
'**/.{idea,git,cache,output,temp}/**'
] But it's true for |
@sheremet-va i think that the best approach is to ignore everything that is mentioned at the gitignore file. |
Ignoring watching all files in .gitignore will not work for everyone. I saw multiple projects that have tests importing code from the dist folder. |
Describe the bug
The runner doesn't ignore the
.idea
folder.The defalt value mentioned by the documentation (['/node_modules/', '/dist/']) is wrong. if I'm setting this value - the runner crashes after the first run.
Reproduction
The defalt value mentioned by the documentation (['/node_modules/', '/dist/']) is wrong. if I'm setting this value - the runner crashes after the first run.
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: