Skip to content

Commit 5978a8d

Browse files
fhammerschmidtcristianoc
authored andcommitted
Docs: Use correct path for description of finding the ReScript bin
1 parent fe92962 commit 5978a8d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ If there's no ReScript build running already in the opened project, the extensio
101101

102102
#### How does it find my ReScript binary?
103103

104-
The extension will look for the existence of a `/node_modules/.bin/bsc` file and use its directory as the `binaryPath`. If it does not find it at the project root (which is where the nearest `bsconfig.json` resides), it goes up folders in the filesystem recursively until it either finds it (often the case in monorepos) or hits the top level. If it does not find it, the path can be overwritten with the setting `rescript.settings.binaryPath`.
104+
The extension will look for the existence of a `/node_modules/.bin/rescript` file and use its directory as the `binaryPath`. If it does not find it at the project root (which is where the nearest `bsconfig.json` resides), it goes up folders in the filesystem recursively until it either finds it (often the case in monorepos) or hits the top level.
105+
106+
To override this lookup process, the path can be configured explicitly using the setting `rescript.settings.binaryPath`.
105107

106108
### Hide generated files
107109

0 commit comments

Comments
 (0)