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
Currently on a new service worker control, location.reload() is called. Can we configure this so instead we can do location.href = "/" or the equivalent? I'd much rather have an application reload back to the "home" on an update where the user has explicitly said "yes, I want to update" from the prompt.
The text was updated successfully, but these errors were encountered:
It would be nice to have a hook function for overriding the default reload behaviour.
(Some use cases: modify location url or prevent reloading in some special situations)
I was trying to set location after updating service worker, but this resulted in strange behavior in recent Chrome versions - page was stuck at being reloaded (favicon spinning):
Currently on a new service worker control,
location.reload()
is called. Can we configure this so instead we can dolocation.href = "/"
or the equivalent? I'd much rather have an application reload back to the "home" on an update where the user has explicitly said "yes, I want to update" from the prompt.The text was updated successfully, but these errors were encountered: