I’m adding a new .re
file alongside my existing files and using the module. create-react-app
is able to handle the new file just fine, as in I can see the change getting reflected in my web app. However, for some reason Merlin complains about Unbound value
in my existing files when they use definitions from the new file. Does anyone know how I might fix that?
Merlin doesn't recognize new `.re` file
derekchiang
#1
rauschma
#5
Possible fix (quoting the readme of vscode-reasonml
): “Note: due to an existing problem, make sure that you’re opening vscode from the command-line, at the root of your project!”
I’m now starting (and restarting) vscode by cd-ing into the project directory and:
vscode .
Enabled via the following line in .bash_profile
(macOS):
alias vscode='/Applications/_Axel/Visual\ Studio\ Code.app/Contents/MacOS/Electron'