Skip to content

Commit

Permalink
fix: broken hot reload (#1903)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored and hiroppy committed May 17, 2019
1 parent 0ae9be8 commit 6a444cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client-src/default/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ function reloadApp() {
}
}
// allow refreshing the page only if liveReload isn't disabled
if (liveReload) {
else if (liveReload) {
let rootWindow = self;
// use parent window for reload (in case we're in an iframe with no valid src)
const intervalId = self.setInterval(() => {
Expand Down
2 changes: 1 addition & 1 deletion test/__snapshots__/Routes.test.js.snap

Large diffs are not rendered by default.

0 comments on commit 6a444cd

Please sign in to comment.