Angular-cli: Service Worker - Ng Prod in Watch Mode - Future Request

Created on 15 Feb 2018  路  5Comments  路  Source: angular/angular-cli

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.

devkibuild-angular feature

Most helpful comment

I agree this would be a great future so you can test your service workers locally for push notifications.

All 5 comments

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._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gotschmarcel picture gotschmarcel  路  3Comments

rwillmer picture rwillmer  路  3Comments

purushottamjha picture purushottamjha  路  3Comments

JanStureNielsen picture JanStureNielsen  路  3Comments

naveedahmed1 picture naveedahmed1  路  3Comments