Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
Fix soft reload.
Browse files Browse the repository at this point in the history
  • Loading branch information
T4rk1n committed Oct 9, 2018
1 parent 4661e21 commit d1c40fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/core/Reloader.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Reloader extends React.Component {
}
if (reloadRequest.content.reloadHash !== this.state.hash) {
if (reloadRequest.content.hard
|| reloadRequest.content.packages.length !== this.state.length
|| reloadRequest.content.packages.length !== this.state.packages.length
|| !R.all(R.map(x => R.contains(x, this.state.packages),
reloadRequest.content.packages))
) {
Expand Down Expand Up @@ -98,7 +98,7 @@ class Reloader extends React.Component {
// Integrate with dev tools ui?!
window.alert(
`
Reloader failed after ${this.state.retry} times.
Reloader failed after ${this._retry} times.
Please check your application for errors.
`
)
Expand Down

0 comments on commit d1c40fa

Please sign in to comment.