Skip to content

Commit

Permalink
fix(turbopack): Do not report hmr timing twice (vercel#63227)
Browse files Browse the repository at this point in the history
### What?

Make turbopack not emit HMR timing report twice.

### Why?

We should not report HMR update twice.

### How?

Closes PACK-2581

---------

Co-authored-by: Tobias Koppers <[email protected]>
  • Loading branch information
kdy1 and sokra authored Mar 13, 2024
1 parent 9d601af commit 2e19459
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/next/src/server/dev/hot-reloader-turbopack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ export async function createHotReloaderTurbopack(
readyIds.add(id)
buildingIds.delete(id)
if (buildingIds.size === 0) {
hmrEventHappened = false
consoleStore.setState(
{
loading: false,
Expand Down

0 comments on commit 2e19459

Please sign in to comment.