Skip to content

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

@alexandar-mitsev

Description

@alexandar-mitsev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions