You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log(`%cHMR`,tagStyle,`Client reload defered, will reload in ${_deferReload} ms`)
61
61
}elseif(_suppressNextReload){
62
-
console.log(`%cHMR%c ⥁ Client version changed, reload suppressed because of a recent HMR update. You may need to reload the page.`,tagStyle,'color: #F36E00;')
62
+
if(!_suppressTimer){
63
+
console.log(`%cHMR%c ⥁ Client version changed, reload suppressed because of a recent HMR update. You may need to reload the page.`,tagStyle,'color: #F36E00;')
64
+
}
65
+
clearTimeout(_suppressTimer)
66
+
_suppressTimer=setTimeout(()=>{
67
+
_suppressNextReload=false
68
+
_suppressTimer=undefined
69
+
})
63
70
}else{
64
71
console.log(`%cHMR`,tagStyle,`Reloading app...`)
65
72
_reload.call(Reload,options)
66
73
}
67
-
_suppressNextReload=false
68
74
_deferReload=0
69
75
}
70
76
@@ -77,7 +83,7 @@ function checkNewVersionDocument (doc) {
console.log('%cHMR%c Dev server URL: %c'+devUrl,tagStyle,'','font-weight: bold;')
95
101
96
-
console.log(`%cIf you have issues connecting to the dev server, set the 'HMR_URL' env variable to the URL of the dev server displayed in the meteor console.`,infoStyle)
102
+
console.log(`%cIf you have issues connecting to the dev server, set the 'HMR_URL' env letiable to the URL of the dev server displayed in the meteor console.`,infoStyle)
97
103
98
104
// NOTE: Socket lib don't allow mix HTTP and HTTPS servers URLs on client!
0 commit comments