Skip to content
This repository has been archived by the owner on Dec 1, 2019. It is now read-only.

Commit

Permalink
Merge pull request #2 from Falkirks/auto-open
Browse files Browse the repository at this point in the history
Auto-open web page when running "npm run mac" or "npm run win"
  • Loading branch information
Mandy Chen authored Nov 20, 2017
2 parents 93b9744 + eee48aa commit c05a2d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Programming/2018/completed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"win": ".\\node_modules\\.bin\\serve.cmd ./ -p 8888",
"mac": "./node_modules/.bin/serve ./ -p 8888"
"win": ".\\node_modules\\.bin\\serve.cmd ./ -p 8888 -o",
"mac": "./node_modules/.bin/serve ./ -p 8888 -o"
},
"author": "",
"license": "ISC"
Expand Down
4 changes: 2 additions & 2 deletions Programming/2018/starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"win": ".\\node_modules\\.bin\\serve.cmd ./ -p 8888",
"mac": "./node_modules/.bin/serve ./ -p 8888"
"win": ".\\node_modules\\.bin\\serve.cmd ./ -p 8888 -o",
"mac": "./node_modules/.bin/serve ./ -p 8888 -o"
},
"author": "",
"license": "ISC"
Expand Down

0 comments on commit c05a2d1

Please sign in to comment.