We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cae1de3 commit 2cd2782Copy full SHA for 2cd2782
1 file changed
src/build/vite/plugin.ts
@@ -261,10 +261,7 @@ function nitroMain(ctx: NitroPluginContext): VitePlugin {
261
}
262
if (serverOnlyModules.length > 0) {
263
env.hot.send({ type: "full-reload" });
264
- if (
265
- sharedModules.length === 0 &&
266
- ctx.pluginConfig.experimental?.vite.serverReload
267
- ) {
+ if (sharedModules.length === 0 && ctx.pluginConfig.experimental?.vite.serverReload) {
268
server.ws.send({ type: "full-reload" });
269
270
return sharedModules;
0 commit comments