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

Infinite loading of playground-preview if Service Worker "Update on reload" is checked #401

Open
alexandar-mitsev opened this issue Apr 8, 2024 · 0 comments

Comments

@alexandar-mitsev
Copy link

Hi,

If I have my dev console open and I have the option "Update on reload" for Service Workers, the playground-preview enters into infinite loading and never shows.

I can reproduce this on https://lit.dev/playground/ .

  1. check the option "Update on reload" in Dev Console -> Application -> Service Workers
  2. reload the page
  3. in the console you can see infinite amount of "Service Worker was updated because "Update on reload" was checked in the DevTools Application panel." image
  4. sample preview never loads
  5. uncheck "Update on reload"
  6. sample loads immediately
    image

Thanks and Regards

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