ChromeDevTools / debugger-protocol-viewer

DevTools Protocol API docs—its domains, methods, and events
https://chromedevtools.github.io/devtools-protocol/
Other
862 stars 173 forks source link

add self-destructing service-worker.js #137

Closed paulirish closed 4 years ago

paulirish commented 4 years ago

fixes #136

TimvdLippe commented 4 years ago

And I just saw https://github.com/NekR/self-destroying-sw#how-to-use and discovered that we shouldnt register the SW. Reverting that change.

paulirish commented 4 years ago

I fixed the copying to use Eleventy instead and made sure we register the service-worker in the index.js (to purge it)

ah. :) much better thx