vitest-dev / vscode

VS Code extension for Vitest
https://vitest.dev/vscode
MIT License
740 stars 83 forks source link

After installing Vitest 1.4.0, the notification doesn't disappear #289

Closed sheremet-va closed 5 months ago

sheremet-va commented 6 months ago

Describe the bug

When opening a project with Vitest lower than 1.4.0, we show a notification that 1.4.0 or higher is required. But even after installing 1.4.0, the notification is still shown after clicking on "refresh".

Would also be nice to try and reload it ourselves if we notice the version changed using watcher.

Reproduction

https://stackblitz.com/fork/github/vitest-dev/vitest/tree/main/examples/basic?initialPath=__vitest__/

System Info

Any

Used Package Manager

yarn 1 (npm works fine, didn't check pnpm)

Validations