Welcome to mirror list, hosted at ThFree Co, Russian Federation.

code-web.bat « scripts - github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 312024c3d420e4bf5fb8c25f2bc51b501315fa00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@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