Skip to content

Commit 2cd2782

Browse files
format
1 parent cae1de3 commit 2cd2782

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/build/vite/plugin.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,7 @@ function nitroMain(ctx: NitroPluginContext): VitePlugin {
261261
}
262262
if (serverOnlyModules.length > 0) {
263263
env.hot.send({ type: "full-reload" });
264-
if (
265-
sharedModules.length === 0 &&
266-
ctx.pluginConfig.experimental?.vite.serverReload
267-
) {
264+
if (sharedModules.length === 0 && ctx.pluginConfig.experimental?.vite.serverReload) {
268265
server.ws.send({ type: "full-reload" });
269266
}
270267
return sharedModules;

0 commit comments

Comments
 (0)