Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
ServiceWorker doesn't update the app when going "back" to a previous version #8962
Bug Report or Feature Request
The v1 code is still cached after the update to v2. I guess because there is no notion of "this is the bundle for module X". Each file is simply... a file.
Any change in the app code should trigger the update.
I've just tested again, after updating Angular to 5.1.2 and CLI to 1.6.3.
I think it's the same thing that happened initially. And what threw me off was that I expected things to go back to normal right away with the first refresh, after closing dev tools.
So, it looks like wasn't a real issue and can be closed. Sorry for the trouble!