- From: Jake Archibald <notifications@github.com>
- Date: Fri, 11 Mar 2016 05:26:11 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Friday, 11 March 2016 13:26:38 UTC
@RichardMaher Service workers spin up to call event listener callbacks. Once the event has been handled, the SW may terminate. You're adding a fetch listener in your 'activate' event, but once the service worker terminates that listener is gone, as it isn't reattached when the SW next runs. All service worker events should be attached in the initial execution of the worker. --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/844#issuecomment-195361518
Received on Friday, 11 March 2016 13:26:38 UTC