Florian Hammerschmidt
Florian Hammerschmidt
It's fine. In fact we could and should crowdsource more articles.
In your case probably `pnpm exec rescript` I guess. And it looks like you did not start a build or watcher yet.
I just created a create-rescript-app basic project with pnpm and do not have this issue. I hope it's not windows-specific. I guess you also tried to restart the language server...
I can reproduce the error in your output if I do `pnpm run res:clean` and do not trigger a build afterwards. But as soon as I do `pnpm run res:dev`...
That's curious, maybe there _is_ a Windows bug in path handling of incremental compilation. @zth When incremental typechecking is off, it should still typecheck/compile after every save. Personally, I always...
Not so fast, GitHub. @BIYUEHU can you try setting your extension to the pre-release version 1.59.6 and see if incremental compilation works there?
So at least for the whole project, you can disable incremental compilation in `.vscode/settings.json`: ```diff { ... + "rescript.settings.incrementalTypechecking.enable": false } ``` Then it will only be compiled on save,...
At some point the server part should be in OCaml (https://github.com/rescript-lang/rescript-vscode/issues/269). Then we only have a small client left where we could get rid of the typescript dependency entirely. The...