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
once the service worker is installed, after calling updateServiceWorker the page reload
This is unfortunate as the flow I want for my user is as follow
once a new service worker is detected, I want it installed as soon as possible. Then I ask the user if they want to reload the page to get the new version. If they close, they can continue, but if they reload manually later, I want them to have the new version
updateServiceWorker automatic reload prevent me to do that and so when a user reload they keep getting the message to update until they click "reload". which is not what I want
An option to not reload automatically would be great
The text was updated successfully, but these errors were encountered:
Currently in the code
vite-plugin-pwa/src/client/build/register.ts
Line 62 in 2de47c4
vite-plugin-pwa/src/client/build/register.ts
Line 87 in 2de47c4
vite-plugin-pwa/src/client/build/register.ts
Line 102 in 2de47c4
once the service worker is installed, after calling
updateServiceWorker
the page reloadThis is unfortunate as the flow I want for my user is as follow
once a new service worker is detected, I want it installed as soon as possible. Then I ask the user if they want to reload the page to get the new version. If they close, they can continue, but if they reload manually later, I want them to have the new version
updateServiceWorker automatic reload prevent me to do that and so when a user reload they keep getting the message to update until they click "reload". which is not what I want
An option to not reload automatically would be great
The text was updated successfully, but these errors were encountered: