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.
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,