Skip to content

Commit

Permalink
Turbopack HMR: reload on any failed HMR update (#7744)
Browse files Browse the repository at this point in the history
Whether due to a runtime error or an apply error, it should be reloaded.


Closes PACK-2751
  • Loading branch information
wbinnssmith committed Mar 15, 2024
1 parent 04316c3 commit ebce81a
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ export function connect({
}
applyAggregatedUpdates();
} catch (e: unknown) {
if (!(e instanceof Error && e.name === "UpdateApplyError")) {
throw e;
}

console.warn(
"[Fast Refresh] performing full reload\n\n" +
"Fast Refresh will perform a full reload when you edit a file that's imported by modules outside of the React rendering tree.\n" +
Expand Down

0 comments on commit ebce81a

Please sign in to comment.