Skip to content

Service Worker is not updated on save or build #47388

Open
@tbasallo

Description

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

When updating the service worker, the built version in the bin folder is never updated. This is true whether you save or build. A Rebuild does replace the file in the bin folder.

*This is not an issue with the browser not picking up a new version of the service worker.

Expected Behavior

Changes to any files in the project should be reflected in the working directory

Steps To Reproduce

This bug exists in a brand-new project using VS 2022, latest and preview.

Exceptions (if any)

No response

.NET Version

7

Anything else?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Pillar: Technical DebtPriority:3Work that is nice to havearea-blazorIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.feature-pwaIssues related to building PWAs with Blazor

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions