Skip to content

infinite loop with live reload build #4714

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
lebesnec opened this issue Feb 15, 2017 · 3 comments
Closed

infinite loop with live reload build #4714

lebesnec opened this issue Feb 15, 2017 · 3 comments

Comments

@lebesnec
Copy link

lebesnec commented Feb 15, 2017

Please provide us with the following information:

OS?

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

Windows 7

Versions.

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

angular-cli: 1.0.0-beta.28.3
node: 6.9.5
os: win32 x64
@angular/common: 2.4.7
@angular/compiler: 2.4.7
@angular/core: 2.4.7
@angular/forms: 2.4.7
@angular/http: 2.4.7
@angular/platform-browser: 2.4.7
@angular/platform-browser-dynamic: 2.4.7
@angular/router: 3.4.7
@angular/cli: 1.0.0-beta.30
@angular/compiler-cli: 2.4.7

Repro steps.

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

The app was copied from here : https://github.com/angular-starter-kit/ngx-starter-kit I don't know if it was created with the CLI or not.

The log given by the failure.

Normally this include a stack trace and some more information.

the initial ng serve seem to work well, but when I start to edit files I've got the following looping over and over in the CLI :

image

and in the chrome console :

image

Mention any other details that might be useful.

I was using visual studio code and it seem there is/was some similar issues with it (see #2497 ). But the problem remain even when visual studio code is closed.
I'm behind a corporate proxy and I have to use cntlm in order to have the install command to download the dependencies. Also I have to run the command line as an admin (rigth clic on cmd.ewe / run as an adminsitrator) in order to have the permission to launch the serve command.


Thanks! We'll be in touch soon.

@lebesnec
Copy link
Author

it turn out the antivirus (mcAffe) is messing with the files ... And I can't disable it on my machine :(

@renaud-dev
Copy link

A bit late, but if anyone else encounter this issue, you can try a workaroung with the --poll option (https://github.com/angular/angular-cli/wiki/serve)

ng serve --poll 1000

@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 7, 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

2 participants