Skip to content

sporadic recompilation #14116

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
acohenOT opened this issue Apr 9, 2019 · 4 comments
Closed

sporadic recompilation #14116

acohenOT opened this issue Apr 9, 2019 · 4 comments
Labels
area: @ngtools/webpack freq1: low Only reported by a handful of users who observe it rarely severity3: broken type: bug/fix
Milestone

Comments

@acohenOT
Copy link
Contributor

acohenOT commented Apr 9, 2019

🐞 Bug report

Command (mark with an x)

- [x ] serve

Is this a regression?

Yes, the previous version in which this bug was not present was: 6.0

Description

When running ng serve sometimes without explicit change in the code the project gets recompiled.

This is related to #13861 though the 'kind' error has been resolved with 7.3.8, the sporadic recompilation remains.

🔬 Minimal Reproduction

This cannot be reproduced at will though is repeatable multiple times a day during development. Are there any verbose logging settings that can be enabled that can try to help capture the cause?

🌍 Your Environment


Angular CLI: 7.3.8
Node: 10.15.3
OS: win32 x64
Angular: 7.2.12
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, 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/cdk                      7.3.7
@angular/cli                      7.3.8
@angular/material                 7.3.7
@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.6
@alan-agius4 alan-agius4 added freq1: low Only reported by a handful of users who observe it rarely severity3: broken type: bug/fix labels Apr 12, 2019
@ngbot ngbot bot added this to the Backlog milestone Apr 12, 2019
@CSchulz
Copy link

CSchulz commented May 28, 2019

There are no changes of the node_modules? I have encountered the issue if there are file changes.

@acohenOT
Copy link
Contributor Author

@CSchulz no changes that I'm making, no (perhaps my corporate anti-virus is triggering a change detection, but I cannot disable that). Do you know if there is a way to enable any verbose logging to see what is causing a recompile?

@acohenOT
Copy link
Contributor Author

This appears to be resolved with Angular 8.

@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
area: @ngtools/webpack freq1: low Only reported by a handful of users who observe it rarely severity3: broken type: bug/fix
Projects
None yet
Development

No branches or pull requests

3 participants