Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
themeConfig.serviceWorker.updatePopup only shows up on first page reload #677
When pushing new content to a VuePress site with the themeConfig.serviceWorker.updatePopup enabled the popup only shows up the first page reload - if you don't click the refresh button the popup no longer appears for subsequent page reloads.
Steps to reproduce
What is expected?
The service worker update popup should appear as long as there is a new service worker available.
What is actually happening?
The service worker update popup appears on refresh with new content but doesn't appear again if you refresh without clicking the update button.
Other relevant information
Your OS: macOS High Sierra v10.13.6