Created
October 28, 2019 14:27
-
-
Save thepassle/f3de41f3a234bad46df2be88b58bec53 to your computer and use it in GitHub Desktop.
updating4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const reg = await navigator.serviceWorker.getRegistration(); | |
reg.addEventListener('updatefound', () => { | |
// ... | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment