Skip to content

sporadic recompilation with no obvious reason #14146

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
gozzoo opened this issue Apr 12, 2019 · 2 comments
Closed

sporadic recompilation with no obvious reason #14146

gozzoo opened this issue Apr 12, 2019 · 2 comments

Comments

@gozzoo
Copy link

gozzoo commented Apr 12, 2019

🐞 Bug report

Command (mark with an x)

- [x] serve

Is this a regression?

No, it has been happening in all previous angular-cli versions.

Description

After I start ng serve it promptly recompiles the project after each change in any of the source files.

What's stange is that re-compilation can be caused by seemingly unrelated events like resizing termial window in VSCode or starting production build in another terminal ng build --prod. Recompilation is oftern triggered by loading the app in the browser. It also happened after I did file search in VSCode.

🌍 Your Environment

Angular CLI: 7.3.8
Node: 10.14.2
OS: win32 ia32
Angular: 7.2.12
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.13.8
@angular-devkit/build-angular     0.13.8
@angular-devkit/build-optimizer   0.13.8
@angular-devkit/build-webpack     0.13.8
@angular-devkit/core              7.3.8
@angular-devkit/schematics        7.3.8
@angular/cli                      7.3.8
@ngtools/webpack                  7.3.8
@schematics/angular               7.3.8
@schematics/update                0.13.8
rxjs                              6.4.0
typescript                        3.2.4
webpack                           4.29.0
@alan-agius4
Copy link
Collaborator

Duplicate of #14116

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