diff --git a/packages/vitest/src/node/plugins/index.ts b/packages/vitest/src/node/plugins/index.ts index 28d2b87e639..7ca2aca431f 100644 --- a/packages/vitest/src/node/plugins/index.ts +++ b/packages/vitest/src/node/plugins/index.ts @@ -78,6 +78,7 @@ export async function VitestPlugin(options: UserConfig = {}, ctx = new Vitest()) server: { ...preOptions.api, open, + hmr: false, preTransformRequests: false, }, // disable deps optimization