When performing the following processes, the service worker will be in the activated and is stopped
state:
- Register the service worker
- When visit the page, browser will have successfully installed and activated the service worker.
- I remove the service worker file from my server
- Close any browser tabs that are associated with the website.
- When I return to the website and view the Application tab in the developer tool, I can see that my service worker is in the
activated and is stopped
state. - Put back my service worker file to my server
- Close any browser tabs that are related to the website.
- Return to the website; it is still in the
activated and is stopped
state.
How can the activated and is stopped
service worker be instructed to continue?