Skip to content

Commit

Permalink
Display port when running server
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Cahill committed Sep 9, 2011
1 parent 1b3815e commit a64c6f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,6 @@ app.post('/input/:input', function(req, res, next) {
});

// Start the telemetry server
app.listen(process.argv[2] || 7000);
var port = process.argv[2] || 7000;
app.listen(port);
console.log("Listening on port", port);

0 comments on commit a64c6f6

Please sign in to comment.