angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Terminal progress on multiple lines if line wraps

Open capc0 opened this issue 6 years ago β€’ 4 comments

🐞 Bug report

Command (mark with an x)

  • [ ] new
  • [x] build
  • [x] serve
  • [x] test
  • [x] e2e
  • [ ] generate
  • [ ] add
  • [ ] update
  • [ ] lint
  • [ ] xi18n
  • [ ] run
  • [ ] config
  • [ ] help
  • [ ] version
  • [ ] doc

Is this a regression?

not sure

Description

follow up issue to https://github.com/angular/angular-cli/issues/14623 I am experiencing the same problem with line wrapping

πŸ”¬ Minimal Reproduction

Open VS Code embedded GIT Bash terminal and split the terminal 4 times (so that you have 4 very small terminals side-by-side). Run e.g. ng serve

πŸ”₯ Exception or Error





🌍 Your Environment


     _                      _                 ____ _     ___ 
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / β–³ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | | 
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | | 
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    

Angular CLI: 7.3.9
Node: 10.16.0     
OS: win32 x64     
Angular: 7.2.15
... animations, common, compiler, compiler-cli, core, forms
... http, 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.9
@angular/cdk                      7.3.7
@angular/cli                      7.3.9
@ngtools/webpack                  7.3.8
@schematics/angular               7.3.9
@schematics/update                0.13.9
rxjs                              6.5.2
typescript                        3.2.4
webpack                           4.29.0

Anything else relevant? I have had this issue since multiple months but never cared too much about it. But now I noticed that the line wrapping stuff drastically decreases performance (ng serve takes twice as long with this bug)

capc0 avatar Dec 14 '19 10:12 capc0

@capc0 ,

As per on #14623 I was advised to report this on webpack github which I did.

https://github.com/webpack/webpack/issues/9221

This was fixed in commit: https://github.com/webpack/webpack/pull/9225/commits/7aefa64b0aa6092ea2446865d96a7459fe018cd2

Released in v4.35.0 of wepack, if you look at your webpack version you are on v4.29.0.

You can update angular to a new version which has an updated webpack or update webpack manually and see if it doesn't break anything.

FYI @alan-agius4

christopher-kiss avatar Dec 18 '19 03:12 christopher-kiss

@capc0 , can you kindly confirm that this is no longer reproducible in version 9?

Thanks.

alan-agius4 avatar Dec 18 '19 22:12 alan-agius4

Yes, I can confirm that. It also is fixed with angular 8.1.0 which uses webpack 4.35.2

capc0 avatar Dec 19 '19 08:12 capc0

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.