Skip to content
This repository has been archived by the owner on Mar 14, 2022. It is now read-only.

Commit

Permalink
Print previous port number than true
Browse files Browse the repository at this point in the history
  • Loading branch information
chee committed May 13, 2020
1 parent 789fe34 commit a5e4129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/origami-build-tools-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ async function startServer(port, previous) {

server.on('error', (err) => {
if (err.code === 'EADDRINUSE') {
startServer(portfinder.getPortPromise(), true);
startServer(portfinder.getPortPromise(), port);
return;
}

Expand Down

0 comments on commit a5e4129

Please sign in to comment.