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

Commit

Permalink
Merge pull request #14 from bigdatr/feature/print-correct-port
Browse files Browse the repository at this point in the history
log used port rather than chosen port.
  • Loading branch information
allanhortle committed Oct 31, 2016
2 parents cede471 + 19f41dd commit fe9074b
Show file tree
Hide file tree
Showing 2 changed files with 3,018 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/startServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var startServer = function(done, app, options) {
workersStarted += 1;

if (workersStarted === numCPUs) {
logger.success('Started at http://localhost:' + server.port + ' (using ' + numCPUs + ' cores)');
logger.success('Started at http://localhost:' + h.address().port + ' (using ' + numCPUs + ' cores)');
}
});

Expand All @@ -48,7 +48,7 @@ var startServer = function(done, app, options) {
h = http.createServer(app);
h.listen(server.port);

logger.success('Started at http://localhost:' + server.port + ' (single core)');
logger.success('Started at http://localhost:' + h.address().port + ' (single core)');
}

// Websocket connection
Expand Down

0 comments on commit fe9074b

Please sign in to comment.