We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2e3b27 commit 1f5d317Copy full SHA for 1f5d317
packages/next/src/client/page-bootstrap.ts
@@ -82,6 +82,11 @@ export function pageBootrap(assetPrefix: string) {
82
break
83
}
84
case HMR_ACTIONS_SENT_TO_BROWSER.SERVER_ONLY_CHANGES: {
85
+ if (RuntimeErrorHandler.hadRuntimeError) {
86
+ console.warn(REACT_REFRESH_FULL_RELOAD_FROM_ERROR)
87
+ performFullReload(null)
88
+ }
89
+
90
const { pages } = payload
91
92
// Make sure to reload when the dev-overlay is showing for an
0 commit comments