We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea5491b commit 0bdbcfaCopy full SHA for 0bdbcfa
packages/core/src/client/hmr.ts
@@ -53,9 +53,7 @@ export const registerOverlay = (
53
// Successful compilation.
54
function handleSuccess() {
55
clearOutdatedErrors();
56
-
57
hasCompileErrors = false;
58
59
tryApplyUpdates();
60
}
61
@@ -111,10 +109,8 @@ const handleApplyUpdates = (
111
109
return;
112
110
113
114
- if (isUpdateAvailable()) {
115
- // While we were updating, there was a new update! Do it again.
116
- tryApplyUpdates();
117
- }
+ // While we were updating, there was a new update! Do it again.
+ tryApplyUpdates();
118
};
119
120
// Attempt to update code on the fly, fall back to a hard reload.
0 commit comments