From e2e1ae9874351610fd0698f93eba7bc66b18fae7 Mon Sep 17 00:00:00 2001 From: Justin Ridgewell Date: Sat, 16 Sep 2023 16:18:12 -0400 Subject: [PATCH] Remove webpack heartbeat check --- .../components/react-dev-overlay/hot-reloader-client.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/next/src/client/components/react-dev-overlay/hot-reloader-client.tsx b/packages/next/src/client/components/react-dev-overlay/hot-reloader-client.tsx index 15527575da3c0..04f8c4ecbce63 100644 --- a/packages/next/src/client/components/react-dev-overlay/hot-reloader-client.tsx +++ b/packages/next/src/client/components/react-dev-overlay/hot-reloader-client.tsx @@ -477,11 +477,6 @@ export default function HotReload({ useEffect(() => { const handler = (event: MessageEvent) => { - // webpack's heartbeat event. - if (event.data === '\uD83D\uDC93') { - return - } - try { const obj = JSON.parse(event.data) const handledByTurbopack = processTurbopackMessage?.(obj)