ocaml-lsp
ocaml-lsp copied to clipboard
must constantly restart lsp to get accurate information
I have been looking at lsp logs and I can see rpc.send events for every change I make to a given file.
On startup, if I have a type error, I see and rpc.receive event with the expected error information.
Occasionally, but not consistently, I can trigger an rpc.receive event by calling :LspRestart
.
I have experienced this issue both with Mason ( which bundles its own copy of the ocaml-lsp ) and one installed via OPAM.
Would really appreciate some help here. Happy to share lsp logs if that's helpful.