Created
October 28, 2019 14:20
-
-
Save thepassle/c5e34c9fa62aa789b98850c478e26f68 to your computer and use it in GitHub Desktop.
skipwaiting8
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
self.addEventListener('install', event => { | |
// precache assets etc etc | |
self.skipWaiting(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment