-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Please bring back auto watch on startup setting #543
Comments
I would love this feature too. |
Aha! I was wondering where this went. Mainly I am used to having VSCode automatically run my tests when I save a test file (using vscode-jest), and I can't figure out how to do that with vitest, other than starting my own watcher terminal and switching to it manually - not a big deal, but it was nicer when vscode automatically started it and showed me the results. |
@mltsy You can still do that with the vitest extension. Take a look at the continuous run option: https://github.com/vitest-dev/vscode?tab=readme-ov-file#in-the-testing-view This issue is about automatically having that option turned on at startup. |
If someone wants to contribute this, it should be possible to enable continues run with vscode commands: microsoft/vscode#210848 (comment) |
OH wow - that was news to me, thank you! Slightly different workflow, but it works great (and is actually less obtrusive because it doesn't steal focus from the terminal, but does show you the pass/fail in the editor gutter) 🙌 🙏 |
Describe the bug
Please bring back auto watch on startup setting.
It was implemented in 82222ab
but disappeared in https://github.com/vitest-dev/vscode/releases/tag/v0.5.0
Reproduction
not relevant
Output
Version
1.8
Validations
The text was updated successfully, but these errors were encountered: