Currently a new updated Service worker doesn't take over until a user clears the browser cache, or leaves the current tab or quits the browser.
Solution
This template will show a notification each time that there is a new version of the service worker is available. This will ensure that a user is up to date and has the latest version of any cached files.