Forcing updates in Kiosk PWAs demo
Instructions:
- Open the site in incognito and open DevTools to inspect the service worker and keep an eye on the console logs.
- The script that checks for the new SW version runs every 20 seconds and logs that in the console.
- Go to the SW file in Glitch and change one character (it could be a comment, for example).
- The next time the script runs the new SW is found and the SW update is triggered.
- We could optionally reload the page to keep everything in sync.