rescript-vscode icon indicating copy to clipboard operation
rescript-vscode copied to clipboard

After running "rescript build -w" the language server become disabled

Open AisonSu opened this issue 2 years ago • 0 comments

When I open a project in vscode in both WSL and Windows, if I have previously used "rescript build -w", every time I reopen the project, whether I create or rename a res file, the rescript language server always prompts "Cannot find module xxx". Even if I open other files, features such as type hinting and auto completion do not work. At this point, I delete the lib folder and it prompts "Parsing JSON from reanalyze failed. The raw, invalid JSON can be reproduced by following the instructions below". I run the suggested command and the output is [].

AisonSu avatar Jul 01 '23 01:07 AisonSu