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
Copy file name to clipboardExpand all lines: README.md
+12-15Lines changed: 12 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,23 +9,20 @@ This extension plugs in the following projects:
9
9
10
10
## IMPORTANT
11
11
12
-
Starting from ReScript language server v1.64.0, the internal file watcher (chokidar) was removed ([PR #1096](https://github.com/rescript-lang/rescript-vscode/pull/1096)). The LSP server now expects the editor to watch for file changes and notify the server via the standard LSP `workspace/didChangeWatchedFiles` mechanism.
12
+
Because of a temporary issue [#12](https://github.com/humaans/rescript-zed/issues/12), you should add this to your zed settings.json to make sure the editor sees up to date compilation results:
13
13
14
-
**Recommended workaround** Since this is not currently implemented in this extension it is recommended to pin rescript-language-server to 1.62.0, which is the last version that includes the built-in chokidar file watcher:
15
-
16
-
```json
17
-
{
18
-
"lsp": {
19
-
"rescript-language-server": {
20
-
"settings": {
21
-
"version": "1.62.0"
22
-
}
23
-
}
24
-
}
25
-
}
26
14
```
27
-
28
-
We're tracking this issue in [#12](https://github.com/humaans/rescript-zed/issues/12).
0 commit comments