Skip to content

Commit

Permalink
Merge pull request #457 from opentable/oc-dev-port
Browse files Browse the repository at this point in the history
Log error before exiting
  • Loading branch information
matteofigus committed Apr 10, 2017
2 parents 9c21b89 + 7a726ca commit 77fc9e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/facade/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ module.exports = function(dependencies){
if(err.code === 'EADDRINUSE'){
err = format(strings.errors.cli.PORT_IS_BUSY, port);
}
callback(err);
return log.err(err);
log.err(err);
return callback(err);
}

watchForChanges(components, packageComponents);
Expand Down

0 comments on commit 77fc9e7

Please sign in to comment.