diff --git a/packages/next/src/server/lib/router-utils/setup-dev.ts b/packages/next/src/server/lib/router-utils/setup-dev.ts index 796e2a0c2d76e..cd471284ffd81 100644 --- a/packages/next/src/server/lib/router-utils/setup-dev.ts +++ b/packages/next/src/server/lib/router-utils/setup-dev.ts @@ -497,6 +497,14 @@ async function startWatcher(opts: SetupOpts) { changeSubscriptions.set(page, changed) for await (const change of changed) { + consoleStore.setState( + { + loading: true, + trigger: page, + } as OutputState, + true + ) + processIssues(page, change) const payload = makePayload(page, change) if (payload) sendHmr('endpoint-change', page, payload)