-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
Fix vls initialize is slow #2458
Fix vls initialize is slow #2458
Conversation
04a2cf2
to
280d7b5
Compare
2d7928d
to
4f023fc
Compare
20b9ed8
to
d27bf3d
Compare
I'm seeing multiple instances of It's not only loading typescript from the root of the I know that dependencies should generally not include typescript in EDIT: Actually "only from root" would probably be wrong as packages can have some |
This code was prepared for monorepo. |
With the monorepo setup, the intention is that each sub-project will have its own And it's not only about typescript. Other dependencies like prettier will also be searched and discovered in some deep sub-dependencies. |
Your suggestion is good.
The main thing is that I want to be as consistent as possible with the require behavior.
|
But Note that I might not be seeing the whole picture... |
You're right. |
d27bf3d
to
e88c26b
Compare
@rchl Thanks a lot. |
Looks good with the latest changes. It didn't find any extraneous typescript dependencies (only the single, expected one) or any other dependencies. And it was relatively fast (~2s for |
Fixed #2453