You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we always use the process.execPath to lunch the Node.js process for the TS-LS. When running in electron, it means, we use the bundled Node.js runtime instead of the one from the PATH.
For the sake of consistency, we should try to use the node command from the PATH and fall back to the process.execPath. The details are here: #5324 (comment).
Note, the same adjustments have to be used for JSON too.
The text was updated successfully, but these errors were encountered:
kittaakos
changed the title
[electron][TS] Try to reuse node from the PATH instead of process.execPath in electron
[electron][JSON] Try to reuse node from the PATH instead of process.execPath in electron
Mar 18, 2020
This issue is a follow up of #5324.
Currently, we always use the
process.execPath
to lunch the Node.js process for the TS-LS. When running in electron, it means, we use the bundled Node.js runtime instead of the one from thePATH
.For the sake of consistency, we should try to use the
node
command from thePATH
and fall back to theprocess.execPath
. The details are here: #5324 (comment).Note, the same adjustments have to be used for JSON too.
The text was updated successfully, but these errors were encountered: