Skip to content

Commit 6a92402

Browse files
committed
fix route hmr
1 parent d54a6b5 commit 6a92402

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/start/src/config/fs-routes/fs-watcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function createRoutesReloader(
5454
}
5555
}
5656

57-
if (!server.config.server.hmr) {
57+
if (!server.hot) {
5858
server.ws.send({ type: "full-reload" });
5959
}
6060
}

0 commit comments

Comments
 (0)