We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59bcfb2 commit c51c67aCopy full SHA for c51c67a
packages/vite-node/src/cli.ts
@@ -90,6 +90,7 @@ async function run(files: string[], options: CliOptions = {}) {
90
mode: options.mode,
91
server: {
92
hmr: !!options.watch,
93
+ watch: options.watch ? undefined : null,
94
},
95
plugins: [options.watch && viteNodeHmrPlugin()],
96
})
0 commit comments