artemave / workspace-diagnostics.nvim

Populate diagnostics for _all_ projects files, not just opened ones.
https://artem.rocks/posts/workspace_diagnostics_nvim
MIT License
140 stars 4 forks source link

After setting up the plugin, tsserver keeps initializing then crashes #13

Open belizar opened 1 month ago

belizar commented 1 month ago

Description

I am in a Turbo monorepo configuration with three NextJS apps and two packages, is not a very large project. After I setup the plugin, I can see the errors for the entire workspace, but two things happens, the first one is the I feel Neovim going slowly than before, and the second one is the tsserver initialise and crash for some reason, and keeps doing it in a loop until definitively crashes.

Steps to reproduce

I just followed the steps in the README. Here are some screenshots with what is happening. I cannot share my repo because is a client's one.

image image

Expected behavior

It have to work as expected

Environment

artemave commented 1 month ago

Yeah it's hard to say... One thing to check possibly is the list of project files? If for whatever reason it includes node_modules then maybe even a small project can get prohibitively large. The default file is the output of git ls-files.