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

Improve ServiceWorker registration #2070

Conversation

patzick
Copy link
Collaborator

@patzick patzick commented Dec 9, 2018

Related PR

Related to: #2068

Short description and why it's useful

It's an improvement for ServiceWorker registration. Service worker should now register on any route in application.
Some explanation (and maybe input for docs):

By default ServiceWorker is registered only after build stage, to avoid console error message on most common development case (yarn dev). If you would want to develop with registered ServiceWorker you need to set config.server.devServiceWorker: true on your local.json configuration file and then run yarn dev:sw command.

@pkarw pkarw requested a review from filrak December 9, 2018 16:30
@pkarw pkarw merged commit ffdcaf7 into vuestorefront:develop Dec 10, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants