fdedcf53bb
Basic checks / Compilation, Unit and Integration Tests (push) Has been cancelled
Basic checks / Hygiene and Layering (push) Has been cancelled
Basic checks / Warm up node modules cache (push) Has been cancelled
Check Format and Lint / lint-and-format (push) Has been cancelled
25 lines
388 B
Batchfile
25 lines
388 B
Batchfile
@echo off
|
|
setlocal
|
|
|
|
title VSCode Web Serverless
|
|
|
|
pushd %~dp0\..
|
|
|
|
:: Sync built-in extensions
|
|
call npm run 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 npm run gulp node
|
|
)
|
|
|
|
:: Launch Server
|
|
call "%NODE%" scripts\code-web.js %*
|
|
|
|
popd
|
|
|
|
endlocal
|