cansin/next-with-workbox

Get rid of the warning InjectManifest has been called multiple times

Opened this issue · 0 comments

Hello, thanks for this plugin!

I was wondering if we can find a way to get rid of the warning

InjectManifest has been called multiple times, perhaps due to running webpack in --watch mode. The precache manifest generated after the first call may be inaccurate! Please see https://github.com/GoogleChrome/workbox/issues/1790 for more information.

This happens only in dev mode with force: true and with the swSrc prop (so it's injecting the manifest).
It's not actually causing any issues, but it floods with this warning and I think it would be cool if we could get rid of it
here for example there is an "hacky" way to remove it, but it would work and cause no issue.

What do you think?