Open MangelMaxime opened 5 months ago
When updated the code of an imported file, continuous mode doesn't trigger even if I re-save the test file himself.
Stopping / Start continuous doesn't work, I need to re-start VSCode for it to work again.
vitest-dev/vscode/samples/basic
Start continunous mode
run
add.test.js
add.ts
Only way to make Continous mode working again is by reloading VSCode.
Continous mode
https://github.com/vitest-dev/vscode/assets/4760796/a126e72e-75bd-4131-8421-79f38a81b818
System: OS: macOS 14.4 CPU: (10) arm64 Apple M1 Max Memory: 77.20 MB / 64.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 20.9.0 - ~/Library/Caches/fnm_multishells/4208_1711128498880/bin/node Yarn: 1.22.22 - ~/Library/Caches/fnm_multishells/4208_1711128498880/bin/yarn npm: 10.1.0 - ~/Library/Caches/fnm_multishells/4208_1711128498880/bin/npm pnpm: 8.13.1 - ~/Library/Caches/fnm_multishells/4208_1711128498880/bin/pnpm bun: 1.0.18 - ~/.bun/bin/bun IDEs: VSCode: 1.87.2 - /usr/local/bin/code Vim: 9.0 - /usr/bin/vim Xcode: /undefined - /usr/bin/xcodebuild Browsers: Chrome: 123.0.6312.59 Safari: 17.4 npmPackages: vite: ^2.8.6 => 2.9.17 vitest: ^1.4.0 => 1.4.0
npm
This should be fixed in 0.5.13. I am adding a label here to add a test to catch regression in the future.
Describe the bug
When updated the code of an imported file, continuous mode doesn't trigger even if I re-save the test file himself.
Stopping / Start continuous doesn't work, I need to re-start VSCode for it to work again.
Reproduction
vitest-dev/vscode/samples/basic
folderStart continunous mode
(global)run
configadd.test.js
and force save the fileadd.ts
and make a change to the file + saveadd.test.js
and force save the fileOnly way to make
Continous mode
working again is by reloading VSCode.https://github.com/vitest-dev/vscode/assets/4760796/a126e72e-75bd-4131-8421-79f38a81b818
System Info
Used Package Manager
npm
Validations