-
Notifications
You must be signed in to change notification settings - Fork 9
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
Crashes in monorepo #183
Comments
Root directory is determined on the client side, you should check the |
Good catch. The memory limit is controlled by |
Added a section in README for it: 376a43d |
Awesome, thanks! I wonder how vscode handled those 2 projects with no issues. |
VSCode uses a special built Node.js to reduce the memory usage by nearly half: #136 (comment) |
Crazy, didn't know that. Thank you for your assistance! |
Since vscode uses a custom runtime to run |
I think the server as a npm package could not control the runtime used to run it, users are free to choose any runtime through cmd like |
When I open a root folder containing 2 TS projects (
ProjectA
andProjectB
) and open one of them vtsls initializes properly. However, when I try to open a buffer from its sibling project (ProjectB
), vtsls is stuck re-initializing and failing.I can see in
:LspInfo
ran fromProjectA/index.ts
that it initializes correctly with the root set to/ProjectA
.:LspInfo
from the problematicProjectB
shows either that it's running in a single file mode or set to/ProjectA
.This is my config in
nvim-lspconfig
:The text was updated successfully, but these errors were encountered: