vite-plugin-pwa
vite-plugin-pwa copied to clipboard
try to expose new version detected
Discussed in https://github.com/vite-pwa/vite-plugin-pwa/discussions/619
Originally posted by mary-ext December 10, 2023
is there any way I could show that there's an update going on? there's onNeedRefresh
that gets called when the update is actually ready, but I want to show some indication that there is an update going on, so users don't keep refreshing or asking why the site/app hasn't been updated yet
Hi @userquin, I am very interested in this topic and would like to make a contribution. Perhaps we can discuss some approaches to addressing this~