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
Hello, I'm currently getting an HMR error in my WebWorkers that seems to be related to a use of the window global in the hmr runtime here. It wasn't clear to me if the fix was as simple as changing window.location.reload() to location.reload() and if there had been an unintentional regression introduced by #2676 so for now I'm just leaving this note -- any comments welcome. thanks, nehal
#529 seems to try to fix a similar problem (at a different location in the hmr runtime) by changing window.location.reload to location.reload. Also see the comments in #476 regarding self.location vs accessing location via implicit global. Was this fix incorrect or am I misunderstanding?
Hello, I'm currently getting an HMR error in my WebWorkers that seems to be related to a use of the
window
global in the hmr runtime here. It wasn't clear to me if the fix was as simple as changingwindow.location.reload()
tolocation.reload()
and if there had been an unintentional regression introduced by #2676 so for now I'm just leaving this note -- any comments welcome. thanks, nehalOriginally posted by @habemus-papadum in #528 (comment)
The text was updated successfully, but these errors were encountered: