Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 5fc10c9

Browse files
committed
Fix server restart loop in generate mode
1 parent 785629b commit 5fc10c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/dev.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ if (import.meta.main) {
106106
// emit HMR event
107107
if (e.all.has(`hotUpdate:${specifier}`)) {
108108
e.emit(`hotUpdate:${specifier}`, { specifier });
109-
} else if (specifier !== "./route.gen.ts") {
109+
} else if (specifier !== "./routes.gen.ts") {
110110
clientDependencyGraph?.lookup(specifier, (specifier) => {
111111
if (e.all.has(`hotUpdate:${specifier}`)) {
112112
e.emit(`hotUpdate:${specifier}`, { specifier });

0 commit comments

Comments
 (0)