Skip to content

Commit

Permalink
fix: await buildStart before server start (#12647)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red authored Mar 29, 2023
1 parent 8da0422 commit 871d353
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 @@ -683,6 +683,7 @@ export async function createServer(
initingServer = undefined
serverInited = true
})()
return initingServer
}

if (!middlewareMode && httpServer) {
Expand Down

0 comments on commit 871d353

Please sign in to comment.