Skip to content

Commit

Permalink
Added option -o to script npm run ng:serve so that it really open the…
Browse files Browse the repository at this point in the history
… browser
  • Loading branch information
Hervé Thouzard committed Mar 8, 2018
1 parent 5258ff1 commit 72aff8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"start": "node hooks/environments/set_profile.js && npm-run-all -p ng:serve electron:serve",
"build": "node hooks/environments/set_profile.js && ng build && npm run electron:tsc",
"build:prod": "node hooks/environments/set_profile.js && ng build --prod && npm run electron:tsc",
"ng:serve": "ng serve",
"ng:serve": "ng serve -o",
"electron:tsc": "tsc main.ts",
"electron:serve": "wait-on http-get://localhost:4200/ && npm run electron:tsc && electron . --serve",
"electron:local": "npm run build:prod && electron .",
Expand Down

0 comments on commit 72aff8d

Please sign in to comment.