Skip to content

Commit 6a444cd

Browse files
evilebottnawihiroppy
authored andcommitted
fix: broken hot reload (#1903)
1 parent 0ae9be8 commit 6a444cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client-src/default/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ function reloadApp() {
291291
}
292292
}
293293
// allow refreshing the page only if liveReload isn't disabled
294-
if (liveReload) {
294+
else if (liveReload) {
295295
let rootWindow = self;
296296
// use parent window for reload (in case we're in an iframe with no valid src)
297297
const intervalId = self.setInterval(() => {

test/__snapshots__/Routes.test.js.snap

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)