Unverified Commit 474e804e authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

handle finish building message on client side (#57363)

removes warning for client hmr code

Closes WEB-1846

---------
Co-authored-by: 's avatarLeah <github.leah@hrmny.sh>
parent 5f0cfd41
...@@ -245,6 +245,9 @@ function processMessage( ...@@ -245,6 +245,9 @@ function processMessage(
console.log('[Fast Refresh] rebuilding') console.log('[Fast Refresh] rebuilding')
break break
} }
case HMR_ACTIONS_SENT_TO_BROWSER.FINISH_BUILDING: {
break
}
case HMR_ACTIONS_SENT_TO_BROWSER.BUILT: case HMR_ACTIONS_SENT_TO_BROWSER.BUILT:
case HMR_ACTIONS_SENT_TO_BROWSER.SYNC: { case HMR_ACTIONS_SENT_TO_BROWSER.SYNC: {
if (obj.hash) { if (obj.hash) {
......
...@@ -58,7 +58,9 @@ export default (mode: 'webpack' | 'turbopack') => { ...@@ -58,7 +58,9 @@ export default (mode: 'webpack' | 'turbopack') => {
return return
} }
case 'serverError': case 'serverError':
case 'devPagesManifestUpdate': { case 'devPagesManifestUpdate':
case 'building':
case 'finishBuilding': {
return return
} }
default: { default: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment