diff --git a/packages/vitest/src/node/plugins/index.ts b/packages/vitest/src/node/plugins/index.ts index aab48c57f40d..d722baa94939 100644 --- a/packages/vitest/src/node/plugins/index.ts +++ b/packages/vitest/src/node/plugins/index.ts @@ -26,6 +26,9 @@ export async function VitestPlugin(options: UserConfig = {}, ctx = new Vitest()) { name: 'vitest', enforce: 'pre', + options() { + this.meta.watchMode = false + }, config(viteConfig: any) { // preliminary merge of options to be able to create server options for vite // however to allow vitest plugins to modify vitest config values