-
-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prompt- Reload - not reloading #717
Comments
Try to provide a minimal reproduction, you can use the new create-pwa https://vite-pwa-org.netlify.app/guide/scaffolding.html About the warbing : https://vite-pwa-org.netlify.app/guide/faq.html |
Hi, I'm not able to recreate a repro project as the issue is not 100% reproductible. It happened when you already opened the app or when you load the app. Any idea? My 2 cents: thanks for your insight. |
@elvince, have you solved it? Cause our index.js is 2.5MB and reload (prompt setting) does not work either. |
@mpaland any asset greater than 2MiB won't be added to the sw precache, check https://vite-pwa-org.netlify.app/guide/faq.html#missing-assets-from-sw-precache-manifest |
Hi,
Thanks for this plugin.
I follow all the instructions and look at your react samples on how to implement the update prompt.
Everything is working as expected except the "reload" part.
When I call updateServiceWorker(true), nothing hapenned. I had to call window.location.reload(); for the refresh to happenned.
Without the reload part, even a "normal F5 refresh" was not working as if the worker was in a waiting state and can't move out of it.
Any hints?
Just in case it helps, during the build I had a warning on my main js file that won't be precached. Configure maximumFileSizeToCacheInBytes to change this limit.
Thanks,
The text was updated successfully, but these errors were encountered: