-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use nvm.el #1
Comments
This is pretty low priority. The current technique of just specifying which node to use works really well. |
In case someone needs a quick fix for this, I have something like the following in my ((js2-mode . ((eval . (progn
(setq mocha-which-node
(if (boundp 'nvm-current-version)
(concat (cadr nvm-current-version) "/bin/node")
(concat (getenv "HOME") "/.nvm/versions/node/v" (s-chomp (f-read-text (concat default-directory ".nvmrc"))) "/bin/node" )))
))
;; other vars here...
))) Notice that I'm relying on this file being in the root of the project, the same place where |
@dcluna I've replaced |
No description provided.
The text was updated successfully, but these errors were encountered: