diff options
Diffstat (limited to 'scripts/code-server.sh')
-rwxr-xr-x | scripts/code-server.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/code-server.sh b/scripts/code-server.sh index 298157e4ee7..bc910a9bb98 100755 --- a/scripts/code-server.sh +++ b/scripts/code-server.sh @@ -8,7 +8,7 @@ else fi function code() { - cd $ROOT + pushd $ROOT # Get electron, compile, built-in extensions if [[ -z "${VSCODE_SKIP_PRELAUNCH}" ]]; then @@ -21,9 +21,11 @@ function code() { yarn gulp node fi + popd + NODE_ENV=development \ VSCODE_DEV=1 \ - $NODE ./scripts/code-server.js "$@" + $NODE $ROOT/scripts/code-server.js "$@" } code "$@" |