shadowwalker / next-pwa

Zero config PWA plugin for Next.js, with workbox 🧰
MIT License
3.89k stars 325 forks source link

Auto recompilation for changes in service workers #215

Closed lexermal closed 1 year ago

lexermal commented 3 years ago

Hello,

I'm currently working on creating some service workers with Typescript for my PWA.

The thing is, every time I change the source code of a worker, I have to kill nextjs and run it again to see the changes. Is there a way to configure live or hot reloading?

baptistemanson commented 3 years ago

Reading the code, there is none right now. And I cannot see a simple way of doing it with the current approach.

Martinnord commented 1 year ago

Is there any updates on this? This is pretty counter productive