Skip to content

Commit 72aff8d

Browse files
author
Hervé Thouzard
committed
Added option -o to script npm run ng:serve so that it really open the browser
1 parent 5258ff1 commit 72aff8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"start": "node hooks/environments/set_profile.js && npm-run-all -p ng:serve electron:serve",
2323
"build": "node hooks/environments/set_profile.js && ng build && npm run electron:tsc",
2424
"build:prod": "node hooks/environments/set_profile.js && ng build --prod && npm run electron:tsc",
25-
"ng:serve": "ng serve",
25+
"ng:serve": "ng serve -o",
2626
"electron:tsc": "tsc main.ts",
2727
"electron:serve": "wait-on http-get://localhost:4200/ && npm run electron:tsc && electron . --serve",
2828
"electron:local": "npm run build:prod && electron .",

0 commit comments

Comments
 (0)