-
Notifications
You must be signed in to change notification settings - Fork 99
When using TypeScript 4.x, live-reload is much slower #1278
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
Comments
Thank you for reporting! |
Related: #1321 |
Hey guys! Any update on this? I also noticed the slowdown, so, decided to stay on TS@3.9 for now. |
In my own testing, I've noticed some slow down in Babel as well. :( Swc can't come soon enough. :D |
@NullVoxPopuli Neither |
I spent a little time with this this afternoon, and the performance characteristics of the compiler API we use to capture typechecking results seem to have changed in 4.0. Specifically, the version of that API that only tracks diagnostics has become much slower than the version that also tracks emitting files, which is a bit surprising to me. I opened microsoft/TypeScript#40808, and we'll see if this is a bug and figure out where to go from there. |
TypeScript 4.0.5 is out and this issue is fixed. Thanks to @dfreeman for resolving it with the TS guys! |
Some context could be found in Discord. TLDR is
tsc --noEmit --watch
finishes immediately, butember serve
takes a few seconds when a TS file changes. Running it withDEBUG=ember-cli-typescript*
shows:cc @dfreeman
The text was updated successfully, but these errors were encountered: