Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 1150fab

Browse files
amfarrellpetebacondarwin
authored andcommitted
chore(package.json): explicitly list domain and port arguments in npm start
A developer working on a remote server will want to change the IP address which `npm start` serves on. A developer working on a machine which is already using port 8000 will want to change the port. By listing those arguments explicitly, it angular-phonecat makes it easier for developers who are unfamiliar with npm and are working through the tutorial to see that they can do so. This should be accompanied by a sentence in the documentation. Closes #191
1 parent 3bb0fbd commit 1150fab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"postinstall": "bower install",
2020

2121
"prestart": "npm install",
22-
"start": "http-server -p 8000",
22+
"start": "http-server --domain 0.0.0.0 --port 8000",
2323

2424
"pretest": "npm install",
2525
"test": "node node_modules/karma/bin/karma start test/karma.conf.js",

0 commit comments

Comments
 (0)