Re: [ServiceWorker] Fetch API respondWith's implicit RETURN (#844)

@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