Angular5 PWA doesn't refresh (Service Workers)
问题 I'm developing an app with angular5, using service workers via the ng-cli, but I realized that after the first time the app shell loads, it doesn't refresh. How can I push new file versions to my app after build it with ng build ?. I could directly rewrite the sw.js manually, but as it is generated via the cli, I don't like to affect anything I don't know what is for. I'm looking for this answer all day, but as service workers are new for the 1.6 version of the ng-cli, I have not found any. I