Skip to content

Commit

Permalink
fix(ssr): recreate ssrCompatModuleRunner on restart (#18973)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red authored Dec 16, 2024
1 parent c4b532c commit 7d6dd5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vite/src/node/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,7 @@ export async function _createServer(
server._ssrCompatModuleRunner?.close(),
])
server.resolvedUrls = null
server._ssrCompatModuleRunner = undefined
},
printUrls() {
if (server.resolvedUrls) {
Expand Down

0 comments on commit 7d6dd5d

Please sign in to comment.