mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 10:15:41 +00:00
24 lines
382 B
Batchfile
24 lines
382 B
Batchfile
@echo off
|
|
setlocal
|
|
|
|
title VSCode Web Serverless
|
|
|
|
pushd %~dp0\..
|
|
|
|
:: Sync built-in extensions
|
|
call yarn download-builtin-extensions
|
|
|
|
:: Node executable
|
|
FOR /F "tokens=*" %%g IN ('node build/lib/node.js') do (SET NODE=%%g)
|
|
|
|
if not exist "%NODE%" (
|
|
:: Download nodejs executable for remote
|
|
call yarn gulp node
|
|
)
|
|
|
|
:: Launch Server
|
|
call "%NODE%" scripts\code-web.js %*
|
|
|
|
popd
|
|
|
|
endlocal
|