Feature request: use rescript
binary from ancestor node_modules
#412
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Thanks for creating this tool. I am really enjoying ReScript so far.
I am programming ReScript on my tiny chromebook, and replicating the large
rescript
node package in each package is taking up a lot of space.To address this, I installed
rescript
in~/node_modules
. Building and running works fine! The binaries are detected and the output.js
files go in the right place.Only problem is, the language server does not find
node_modules/.bin/rescript
. My suggestion is to changefindNodeBuildOfProjectRoot
to look up the directory stack:I tried making this change and it seems to work fine (with vim-rescript).
The text was updated successfully, but these errors were encountered: