mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 04:23:32 +01:00
Web: change yarn web to run with our server instead of playground (#139725)
* web - first cut `yarn web` via our server * properly pipe output * web - remove traces of web playground * web - remember last opened workspace for convinience * use vscode-test-web for server less, clean up web commands * fix comment * fix `yarn web` * rename to code-server * open system browser * code-server script: use minimist * test resolver: use ./scripts/code-server * integartion tests: fix code-server command name Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
This commit is contained in:
20
scripts/code-web.bat
Normal file
20
scripts/code-web.bat
Normal file
@@ -0,0 +1,20 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
title VSCode Web Serverless
|
||||
|
||||
pushd %~dp0\..
|
||||
|
||||
:: Sync built-in extensions
|
||||
call yarn download-builtin-extensions
|
||||
|
||||
:: Download nodejs executable for remote
|
||||
call yarn gulp node
|
||||
|
||||
:: Launch Server
|
||||
FOR /F "tokens=*" %%g IN ('node build/lib/node.js') do (SET NODE=%%g)
|
||||
call "%NODE%" resources\web\bin-dev\code-web-playground.js %*
|
||||
|
||||
popd
|
||||
|
||||
endlocal
|
||||
Reference in New Issue
Block a user