I built a PWA with ionic 3 and angular 5.
Everytime when I make a new version I ran this command to build the www folder.
rm -rf www && ionic-app-scripts build --prod --minifyjs --minifycss --optimizejs
My problem is that it changes all the files even if I only change one line of code, so when my users try to open a page it can’t load and it raise an error, I don’t know if is the cache or something wrong with my service worker.
Someone can help me?