You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to set the --canUseWatchEvents flag when starting tsserver? I've tried passing it as a command line arg to typescript-language-server in my Neovim LSP config:
... but it errors with "error: unknown option '--canUseWatchEvents'".
For background, typescript-language-server appears to be actively watching 40k files in my large project. I noticed that VS Code in the same project only watches around 200 files. I've read that VS Code uses a different version of node (electron-based?) with pointer compression so that could account for some improvements. That being said, I noticed that VS Code starts tsserver with the --canUseWatchEvents flag and typescript-language-server does not so that seemed like a good starting point.
Is there an option or workaround that I can use to test this theory?
The text was updated successfully, but these errors were encountered:
Is there a way to set the
--canUseWatchEvents
flag when starting tsserver? I've tried passing it as a command line arg to typescript-language-server in my Neovim LSP config:... but it errors with "error: unknown option '--canUseWatchEvents'".
For background, typescript-language-server appears to be actively watching 40k files in my large project. I noticed that VS Code in the same project only watches around 200 files. I've read that VS Code uses a different version of node (electron-based?) with pointer compression so that could account for some improvements. That being said, I noticed that VS Code starts tsserver with the
--canUseWatchEvents
flag and typescript-language-server does not so that seemed like a good starting point.Is there an option or workaround that I can use to test this theory?
The text was updated successfully, but these errors were encountered: