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
When starting Vitest, the execution order is setServer -> start. On restart it is the opposite. I'm looking into whether reporters and coverage providers could be initialized in setServer or some other handle executed after it instead.
Describe the bug
Since #2228 the automatic restart on configuration file change in watch mode broke.
vitest@0.24.3
works as expected.By commenting out this block the crash does not happen.
vitest/packages/vitest/src/node/cli-wrapper.ts
Lines 64 to 69 in 824e18c
Reproduction
Stackblitz boilerplate without any changes: https://stackblitz.com/edit/vitest-dev-vitest-vrwfeu?file=vite.config.ts&initialPath=__vitest__
Run vitest and make a whitespace change to the configuration file.
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: