You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.
In the "edit a file" example you add event listeners while handling another event. If the service worker gets killed it will never be able to deliver that update event to the service worker since the worker doesn't re-register for th event.
More generally in all the service worker code you do asynchronous operations in event listeners, but don't call "waitUntil" on the event, so the browser will have no way of knowing that it should keep the service worker alive.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In the "edit a file" example you add event listeners while handling another event. If the service worker gets killed it will never be able to deliver that update event to the service worker since the worker doesn't re-register for th event.
More generally in all the service worker code you do asynchronous operations in event listeners, but don't call "waitUntil" on the event, so the browser will have no way of knowing that it should keep the service worker alive.
The text was updated successfully, but these errors were encountered: