If i navigate from the web app, and no longer have any windows open, when i return back to the app the install event is called every time before activate. This doesn't match the expected lifecycle of install only been called once. I'm not making any changes to the service worker file.
The only code in the service worker is:
self.addEventListener('install', function(event) {
console.log('[ServiceWorker:install] Installing service worker v6.');
});
self.addEventListener('activate', event => {
console.log(`[ServiceWorker:activation] Activating service worker v6.`);
});