Skip to content

Server does not restart automatically when there was a change #3026

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

Closed
nyoman opened this issue Nov 5, 2016 · 8 comments
Closed

Server does not restart automatically when there was a change #3026

nyoman opened this issue Nov 5, 2016 · 8 comments

Comments

@nyoman
Copy link

nyoman commented Nov 5, 2016

I am starting a new project using Angular 2 CLI (angular-cli: 1.0.0-beta.16). But when I made a change, I have to restart the server manually because it does not react to the change or changes as it should be.

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:

Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.

The log given by the failure.

Normally this include a stack trace and some more information.

Mention any other details that might be useful.


Thanks! We'll be in touch soon.

@filipesilva
Copy link
Contributor

Dupe of #2833

@nyoman
Copy link
Author

nyoman commented Nov 7, 2016

Now it works. Thanks.

On Saturday, November 5, 2016 10:58 PM, Filipe Silva <[email protected]> wrote:

Dupe of #2833
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@JJkip
Copy link

JJkip commented Nov 8, 2016

How was this resolved? I uninstalled cli then updated npm to version 3.10.8, then installed cli but still the server does not refresh. Even when i clear my browser cache and refresh it no update is made. I have to ng serve to update the code changes. Please help.

@nyoman
Copy link
Author

nyoman commented Nov 8, 2016

I have the same problem. I had another file of the same version of CLI (beta 19), but It works with no problem. But when I created another new app, I have to restart (ng serve) every time after making a change.

On Tuesday, November 8, 2016 3:34 PM, JayJay <[email protected]> wrote:

How was this resolved? I uninstalled cli then updated npm to version 3.10.8, then installed cli but still the server does not refresh. Even when i clear my browser cache and refresh it no update is made. I have to ng serve to update the code changes. Please help.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@JJkip
Copy link

JJkip commented Nov 8, 2016

@filipesilva this issue seems not be resolved. The old angular 2.0.0 with cli 1.0.0-beta.15 doesn't have this issue but with this latest cli 1.0.0-beta.19 release it's chaos.

@JJkip
Copy link

JJkip commented Nov 8, 2016

I am using OSX Elcapitan version 10.11.6

@sayedrakib
Copy link

I have the same problem, but in my case if AppComponent is changed and saved, it reload and detect the chages. but changes made in child component does not reload. I have
angular-cli: 1.0.0-beta.20-4
node: 6.9.1
os: linux x64

@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 Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants