question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cli 6rc.6 or rc.X ng serve rebuild always >20seconds

See original GitHub issue

Versions

Angular CLI: 6.0.0-rc.6
Node: 8.11.1
OS: win32 x64
Angular: 6.0.0-rc.5
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.5.8
@angular-devkit/build-angular     0.5.8
@angular-devkit/build-optimizer   0.5.8
@angular-devkit/core              0.5.8
@angular-devkit/schematics        0.5.8
@angular/cdk                      6.0.0-rc.12
@angular/cli                      6.0.0-rc.6
@angular/material                 6.0.0-rc.12
@ngtools/json-schema              1.1.0
@ngtools/webpack                  6.0.0-rc.6
@schematics/angular               0.5.8
@schematics/update                0.5.8
rxjs                              6.0.0
typescript                        2.7.2
webpack                           4.6.0

Repro steps

All changes take 20seconds to rebuild (in cli 1.6x event 1.7.x I think) I always rebuilded in 3/4seconds.

Here you can see gif of current behavior: When I add comment in a component :

cli6rc6

Desired behavior

rebuild time like in old version fo cli (1.6 or 1.7)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
clydincommented, Apr 25, 2018

I apologize for the node version changes but could you also try with Node 10 (released recently)? Based on some of the changes in V8, it should actually be faster then v8.9.4.

Also, I’m not actually sure why that chunk is out of order. Webpack sorts them internally.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 8, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ng serve - Angular
Option Description Value Type Default Value ‑‑hmr Enable hot module replacement. boolean false ‑‑host Host to listen on. string localhost ‑‑open Opens the url in default...
Read more >
ng serve is not working after Angular 8 update - Stack Overflow
Solution. After upgrading to Angular 8. problem may occur ng update --all Using package manager: 'npm' Collecting installed dependencies.
Read more >
How to use environment variables to configure your Angular ...
The article explains how we can extract all configuration details out of an AngularJS 1.x application so that we can: deploy our AngularJS...
Read more >
Creating a Library in Angular 6 using Angular CLI and ng ...
This article takes a close look at what happens when you run "ng new", explores the notion of a workspace and library modules...
Read more >
J 3 oWM A N - Papers Past
X 1513. ANTED Known —Saxon Tea is always the same standard of excellence. ... House of 6 rc.oms, workshop and outhouses, eighth-.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found