Open karlvr opened 2 years ago
Bump. It would be a good addition. Configurations support runtimeVersion
property whereas tasks have nothing.
Can someone have a look at this. We need support for nvm
. @meganrogge @alexr00 @Tyriar
Would be cool to also add support for runtimeVersion
to use the version from nvmrc
, possibly even setting that as a default when unset.
We use
nvm
to manage versions of node, and.nvmrc
files in our project to ensure we use the right version in each project. When VS Code launchesnpm
scripts, it doesn't respect our.nvmrc
files, instead preferring thenode
binary on thePATH
when VS Code was launched.142607 is a related issue, but did not result in support for
.nvmrc
files.(PR incoming)