Joaquín Sánchez

Results 923 comments of Joaquín Sánchez

@mysilkworld can you just try it removing the interval? try on private window, removing previous sw, you've how to do it here: https://vite-plugin-pwa.netlify.app/examples/#how-to-run-example-projects ![imagen](https://user-images.githubusercontent.com/6311119/168271451-8e0fc9b8-79af-4b35-af64-63045e13dbc5.png)

check this entry on docs: https://vite-plugin-pwa.netlify.app/guide/periodic-sw-updates.html

maybe it is a problem on Safari with the `update` impl. (your code looks good) is it working without the `update` logic? I mean, making a change on the codebase...

about the time is about changing the codebase not the interval, read the docs again, the gray box warning: you must await at least 1 minute between changes on your...

unfortunately I don't have my mac at hand, so I can't test what's going on (a nephew has it), maybe you can debug the `workbox-window` library to check if it...

@luozhihua I have this repo for a vitesse clone using a custom sw: https://github.com/userquin/test-pwa-ts-4.5.5/blob/main/src/sw.ts, you can check the result here [optimistic-cray-38ef22.netlify.app](https://optimistic-cray-38ef22.netlify.app/) You should also configure your server for serving the...

@luozhihua you have some hints here: https://github.com/antfu/vitesse/issues/252#issuecomment-1046085093

> woohoo! so nice you were able to remove `pwa.js`! Still need the sequential, but yeah, finally removed. @antfu: it seems that `VitePress` finally included the `buildEnd` hook!, we can...

@benmccann @antfu I'll remove the ESM support here and make another separate PR, it can take a while to fix the sequential in Vite. I'll include also the manifestTransform here...