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

ng serve update very slow

Open neilhem opened this issue 10 years ago • 26 comments

After updating to the latest version of angular-cli compilation time is very slow

Build successful - 36925ms.
Slowest Trees                                 | Total
----------------------------------------------+---------------------
DiffingSWManifest                             | 30480ms
Funnel                                        | 4331ms

Slowest Trees (cumulative)                    | Total (avg)
----------------------------------------------+---------------------
DiffingSWManifest (1)                         | 30480ms
Funnel (8)                                    | 4966ms (620 ms)

What will be the reason?

neilhem avatar May 05 '16 12:05 neilhem

@johannesjo the main thread for rebuilds being slow is in https://github.com/angular/angular-cli/issues/1980. This one is an old thread related to the old build system.

filipesilva avatar Nov 04 '16 18:11 filipesilva

@filipesilva thank you for linking the issue another time.

johannesjo avatar Nov 05 '16 01:11 johannesjo

Experimented with https://github.com/AngularClass/angular2-webpack-starter. image

But angular cli at start image

When file .ts chenged image

angular-cli: 1.0.0-beta.19-3
node: 6.9.1
os: win32 ia32

daviatorstorm avatar Nov 12 '16 13:11 daviatorstorm

I dont know why this issue is closed. The build process is decreasing angular development a lot.. in my company we are like 6 developers who most of the time wait on the compiler all day long

denkomanceski avatar Dec 04 '16 14:12 denkomanceski

live reloading is still slow for me is there is any fix for that?

imspikey avatar Jan 18 '17 00:01 imspikey

@denkomanceski said:

I don't know why this issue is closed.

Because this issue was created before we were even using Webpack.

I'm locking this conversation because there are already other tracking issues for the re-build time, and this just adds to the noise.

hansl avatar Jan 18 '17 00:01 hansl