Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service Worker - Ng Prod in Watch Mode - Future Request #9631

Closed
Max-Lev opened this issue Feb 15, 2018 · 5 comments
Closed

Service Worker - Ng Prod in Watch Mode - Future Request #9631

Max-Lev opened this issue Feb 15, 2018 · 5 comments
Labels
area: @angular-devkit/build-angular feature Issue that requests a new feature
Milestone

Comments

@Max-Lev
Copy link

Max-Lev commented Feb 15, 2018

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.

@cyraid
Copy link

cyraid commented Jul 15, 2018

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

@idenisovs
Copy link

@cyraid Any progress on this?

@cyraid
Copy link

cyraid commented Feb 29, 2020

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

@alan-agius4
Copy link
Collaborator

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.

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Nov 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: @angular-devkit/build-angular feature Issue that requests a new feature
Projects
None yet
Development

No branches or pull requests

6 participants