Hi, is it possible to make service-worker available/generated in a Watch Mode?
At this moment, in case of "ng build --prod -w" service worked not generated.
I agree this would be a great future so you can test your service workers locally for push notifications.
@cyraid Any progress on this?
Oh I was just commenting it'd be nice haha .. Though it does look like it's still relevant. Right now I'm sure people would have to rig up copying files through the serve/watch process (to copy your service worker config file) through the angular.json assets config (using globs if necessary), and making sure you're serving on https and your local security certificate has been accepted in the browser (or in the systems cert chains).
Thanks for reporting this issue. This issue is now obsolete due to changes in the recent releases. Please update to the most recent Angular CLI version.
If the problem persists after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior.
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
I agree this would be a great future so you can test your service workers locally for push notifications.