Code server provide a way to open a default-folder or default-workspace. Fixes #143580

This commit is contained in:
Martin Aeschlimann
2022-03-15 17:31:54 +01:00
parent c94e9da4c3
commit e971acd737
4 changed files with 30 additions and 11 deletions

View File

@@ -3,7 +3,9 @@ setlocal
title VSCode Server
pushd %~dp0\..
set ROOT_DIR=%~dp0..
pushd %ROOT_DIR%
:: Configuration
set NODE_ENV=development
@@ -20,9 +22,10 @@ if not exist "%NODE%" (
call yarn gulp node
)
:: Launch Server
call "%NODE%" scripts\code-server.js %*
popd
:: Launch Server
call "%NODE%" %ROOT_DIR%\scripts\code-server.js %*
endlocal