-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
[Angular Beta 16] Build performance degradation #16423
Comments
Could be a duplicate of #15844 although upgrading to Node 10 does not improve it much. I tried Node 8, 10 and 11 and all still way slower than it was previously. |
Can confirm on beta.16 - Fork this repository and build the latest version of ionic - the build time to recompile decrease by 50 percent. |
We updated to Angular 7 and TS 3.0, that's the only relevant change i can think of |
UPDATE: Forget it, it must be something else - i do not get it reconstructed why I had yesterday 320 files with beta.16 and today (building with latest commit of Ionic) 188 files. If i switch back to beta.16 it still are 188 files. Or is it in cache? Don't know. But this was my case yesterday: File 34.* and 35.* were both IonModalController (other Ionic components had the same issue - two files for the same component)
Latest Commit of Ionic (188 files)
|
Possibly related: |
Going to close since it does not seem related with ionic! |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Bug Report
Ionic Info
I am using the Angular CLI instead of the Ionic CLI so I will include my package.json instead to be hopefully helpful
Describe the Bug
When using
ng serve`` or
ng build --watch=true``` you make a change to a file and save it. It will take 12-15 seconds to recompile compared to just over 1 second on beta 6.Steps to Reproduce
Upgrade the Angular test app in this project to the latest and greatest and then run
ng serve
and make any changes.Related Code
My sample:
https://github.com/Tiberriver256/ionic/tree/master/angular/test/testapp
Expected Behavior
I would love to have it back down near 1 second as it makes the developer experience not very fun waiting so long. I have a different project that is larger than the testapp and I'm getting upwards of 40-50 seconds to recompile.
Hopefully it's just something I am doing wrong. Thank you!
The text was updated successfully, but these errors were encountered: