File tree 2 files changed +2
-5
lines changed
2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 1
1
import { setFrame , getFrame , deleteFrame } from '../../util/frame'
2
- import { isHMRChecking } from '../../util/hmr'
2
+ import { isHMRChecking , resetHMRChecking } from '../../util/hmr'
3
3
import { isAndroid , isIOS } from 'tns-core-modules/platform'
4
4
import { ios as iosUtils } from 'tns-core-modules/utils/utils'
5
5
@@ -161,6 +161,7 @@ export default {
161
161
} else {
162
162
// TODO: Implement for Android
163
163
}
164
+ resetHMRChecking ( )
164
165
} ,
165
166
166
167
navigate ( entry , back = false ) {
Original file line number Diff line number Diff line change @@ -12,10 +12,6 @@ if (module.hot) {
12
12
module . hot . addStatusHandler ( status => {
13
13
if ( status === 'check' ) {
14
14
hmrChecking = true
15
- // TODO: Improve the logic here
16
- setTimeout ( ( ) => {
17
- hmrChecking = false
18
- } , 2000 )
19
15
}
20
16
} )
21
17
}
You can’t perform that action at this time.
0 commit comments