Exit with error code 11 when port is taken
Reviewed By: javache Differential Revision: D3831703 fbshipit-source-id: ef92cacbc9178b7b661b3a9731dffb97cfc66b7a
This commit is contained in:
parent
f1c158e534
commit
7398780357
|
@ -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'));
|
||||
|
|
Loading…
Reference in New Issue