If you'd like your Service Worker to force itself to become active you can include the line self.skipWaiting() in the install event handler. #serviceWorker
Source: https://developers.google.com/web/fundamentals/codelabs/debugging-service-workers/
If you'd like your Service Worker to force itself to become active you can include the line self.skipWaiting() in the install event handler