From 772a652b3d52bb81f02f8c431113f39cd3d99400 Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Thu, 9 May 2019 14:34:57 +0200 Subject: [PATCH] :lipstick: --- scripts/code-web.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/code-web.js b/scripts/code-web.js index 34e6b4e922a..da3afe33e47 100644 --- a/scripts/code-web.js +++ b/scripts/code-web.js @@ -6,7 +6,9 @@ const httpServer = require('http-server'); const opn = require('opn'); -httpServer.createServer({ root: '.', cache: 5 }).listen(8080); -console.log('LISTENING on 8080'); +const url = 'http://127.0.0.1:8080/out/vs/code/browser/workbench/workbench.html'; -opn('http://127.0.0.1:8080/out/vs/code/browser/workbench/workbench.html'); \ No newline at end of file +httpServer.createServer({ root: '.', cache: 5 }).listen(8080); +console.log(`Open ${url} in your browser`); + +opn(url); \ No newline at end of file