Menu

#3180 GenerateSW has been called multiple times, perhaps due to running webpack in --watch mode.

closed
nobody
None
2024-04-25
2023-03-01
Anonymous
No

Originally created by: Janani-BlueOcean

Welcome! Please use this template for reporting bugs or requesting features. For questions about using Workbox, the best place to ask is Stack Overflow, tagged with [workbox]: https://stackoverflow.com/questions/ask?tags=workbox

Library Affected:
workbox-sw, workbox-build, etc.

Browser & Platform:
E.g. Google Chrome v51.0.1 for Android, or "all browsers".

Issue or Feature Request Description:
Your request here.

When reporting bugs, please include relevant JavaScript Console logs and links to public URLs at which the issue could be reproduced.

Related

Tickets: #3246

Discussion

  • Anonymous

    Anonymous - 2023-03-03

    Originally posted by: prprabhu-ms

    This is a known issue that only affects local devserver runs.

    See https://github.com/GoogleChrome/workbox/issues/1790 for prior context.

     
  • Anonymous

    Anonymous - 2023-09-14

    Originally posted by: jon-ressio

    Coming from a nextjs app, it would be really nice if this warning only got written one time per call to next dev. For me I get it every time a set of server components are compiled. It ends up being a significant console spam.

    Any thoughts on something like below? If I understand the code and how webpack is working, it would mean I'd see 1 warning for inject-manifest and another for generate-sw, but then nothing for subsequent calls to each?

    I'll spin up a quick PR so we can discuss there...

    image

     
  • Anonymous

    Anonymous - 2024-04-25

    Originally posted by: tomayac

    Hi there,

    Workbox is moving to a new engineering team within Google. As part of this move, we're declaring a partial bug bankruptcy to allow the new team to start fresh. We realize this isn't optimal, but realistically, this is the only way we see it working. For transparency, here're the criteria we applied:

    Thanks, and we hope for your understanding!
    The Workbox team

     
  • Anonymous

    Anonymous - 2024-04-25

    Ticket changed by: tomayac

    • status: open --> closed
     

Log in to post a comment.