fix start script and add update command

This commit is contained in:
Eugenio Romano
2016-05-19 14:20:12 +01:00
parent 0f9dc6951a
commit 40946d5fc0
2 changed files with 12 additions and 2 deletions

View File

@@ -3,7 +3,11 @@ cd demo-shell-ng2
#!/bin/sh
if [[ $1 = "-install" ]]; then
npm install
npm run start
elif [[ $1 = "-update " ]]; then
npm run update
npm run start
else
npm run start.dev
npm run start
fi