Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions for unregistering SW into tutorial #13

Open
scooooooooby opened this issue Nov 22, 2015 · 0 comments
Open

Add instructions for unregistering SW into tutorial #13

scooooooooby opened this issue Nov 22, 2015 · 0 comments

Comments

@scooooooooby
Copy link

While running through the tutorial I ran into the issue where after I switched branches (master > code-lab) the tutorial continued running offline because Chrome still had the service worker registered in memory. Might be helpful to add some quick instructions for unregistering it if others run into that issue:

If you do not get an error screen this is because the Service Worker needs to be unregistered. Open up the Chrome devtools and under Sources > Workers, click the Unregister button next to sw.js. Refresh the page, and you should get the standard error.

unregister-sw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant