add chrome auto opener

This commit is contained in:
Jonatan Nilsson 2018-06-26 19:54:51 +00:00
parent a829f35952
commit 53a3d71452
2 changed files with 10 additions and 0 deletions

9
openbrowser.bat Normal file
View file

@ -0,0 +1,9 @@
:start
timeout 3
curl localhost:3000
IF %errorlevel% NEQ 0 GOTO :start
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --start-fullscreen http://localhost:3000/client.html

View file

@ -1,4 +1,5 @@
git pull
START openbrowser.bat
CALL npm install
CALL npm run build
CALL npm run start:win