This commit is contained in:
Benjamin Pasero 2019-05-09 14:34:57 +02:00
parent 4b5c68c1bd
commit 772a652b3d

View file

@ -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');
httpServer.createServer({ root: '.', cache: 5 }).listen(8080);
console.log(`Open ${url} in your browser`);
opn(url);