{
"cmd": ["node", "$file"],
"selector": "source.js"
}
works fine, however I’d really prefer running:
{
"cmd": ["node --use_strict --es_staging --harmony_destructuring --harmony_default_parameters --harmony_rest_parameters", "$file"],
"selector": "source.js"
}
with the latter I get the error, “specified file unfound”
[cmd: [‘node.exe --use_strict --es_staging --harmony_destructuring --harmony_default_parameters --harmony_rest_parameters’, ‘C:\Users\admin\dev\mongo\test.js’]]
[dir: C:\Users\admin\dev\mongo]
[path: C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files\Git\cmd;C:\Program Files\MongoDB\Server\3.2\bin;C:\Program Files\nodejs;C:\Users\admin\AppData\Roaming\npm]
[Finished]
(tried both node and node.exe)