rescript-vscode
rescript-vscode copied to clipboard
After running "rescript build -w" the language server become disabled
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 [].