pablocattaneo
4/5/2018 - 2:53 AM

Force Service worker to active no worbox

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