I am making a Pwa with ionic
I wish to debug the service worker without running the command "ionic build --prod" each time i make a change ! So i wish to be able to load the service worker on localhost but i have this error :
Error TypeError: Failed to register a ServiceWorker for scope ('http://localhost:8100/') with script ('http://localhost:8100/service-worker.js'): A bad HTTP response code (404) was received when fetching the script.
The service-worker.js file is located in the "src" folder of my ionic app project
A possible answer to my problem here How to run service worker locally with Angular