Skip to content

Commit

Permalink
Exit with error code 11 when port is taken
Browse files Browse the repository at this point in the history
Reviewed By: javache

Differential Revision: D3831703

fbshipit-source-id: ef92cacbc9178b7b661b3a9731dffb97cfc66b7a
  • Loading branch information
frantic authored and Facebook Github Bot 5 committed Sep 8, 2016
1 parent f1c158e commit 7398780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion local-cli/server/server.js
Expand Up @@ -64,7 +64,7 @@ function server(argv, config, args) {
}
console.log('\nSee', chalk.underline('http://facebook.github.io/react-native/docs/troubleshooting.html'));
console.log('for common problems and solutions.');
process.exit(1);
process.exit(11);
});

runServer(args, config, () => console.log('\nReact packager ready.\n'));
Expand Down

0 comments on commit 7398780

Please sign in to comment.