ZeaInc / zea-svelte-template

This Svelte Template is a preconfigured Svelte app that combines the engine and many of the popular plugins.
https://www.zea.live/en/ecosystem/svelte-template
MIT License
0 stars 0 forks source link

Clear the service worker in debug mode. #36

Open phtaylor opened 3 years ago

phtaylor commented 3 years ago

Hi, we have noticed that when we release a new build of the viewer site, we have to clear the Browser cache every time to get it to show the changes. Is there any way to get it pick up changes without having to clear the cache?

Mauro 1 day ago Hey . That’s on purpose. It’s the ServiceWorker doing it’s job. You can disable it here: https://github.com/ZeaInc/zea-svelte-template/blob/main/rollup.config.js#L84


Am I confused? In dev mode are the service worker caches supposed to be already off? This could be on my side.