You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting clearScreen: false in vitest.config.ts only works for the initial run in watch mode. Subsequent runs still clear the screen.
Reproduction
set clearScreen to false and execute vitest watch. The first test run does not clear the screen. Then change a file and the screen gets clears for the new test run.
### Used Package Manager
pnpm
### Validations
- [X] Follow our [Code of Conduct](https://github.com/vitest-dev/vitest/blob/main/CODE_OF_CONDUCT.md)
- [X] Read the [Contributing Guidelines](https://github.com/vitest-dev/vitest/blob/main/CONTRIBUTING.md).
- [X] Read the [docs](https://vitest.dev/guide).
- [X] Check that there isn't [already an issue](https://github.com/vitest-dev/vitest/issues) that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vitest-dev/vitest/discussions) or join our [Discord Chat Server](https://chat.vitest.dev).
- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.
The text was updated successfully, but these errors were encountered:
Describe the bug
Setting
clearScreen: false
in vitest.config.ts only works for the initial run in watch mode. Subsequent runs still clear the screen.Reproduction
set clearScreen to false and execute
vitest watch
. The first test run does not clear the screen. Then change a file and the screen gets clears for the new test run.The text was updated successfully, but these errors were encountered: