Closed Glavin001 closed 10 years ago
Custom port for app.js server with arguments.
Usage:
node app.js --port 8081
Where default port is 8080.
Use https://github.com/substack/node-optimist or use: https://github.com/visionmedia/commander.js/
Looks like Commander.js has the highest number of Stars and also looks very complete.
Custom port for app.js server with arguments.
Usage:
Where default port is 8080.