Improved shutdown console log
Summary: One log was misplaced, also added another one. Reviewed By: passy Differential Revision: D49873310 fbshipit-source-id: b391e2be600070eb96e6cd53846f5665f8400edc
This commit is contained in:
committed by
Facebook GitHub Bot
parent
33f7b976f5
commit
34304300c8
@@ -169,8 +169,9 @@ async function start() {
|
||||
launchAndFinish = true;
|
||||
}
|
||||
} else {
|
||||
console.info('[flipper-server] Checking if port is in use (TCP)');
|
||||
if (await checkPortInUse(argv.port)) {
|
||||
console.info('[flipper-server] Checking if port is in use');
|
||||
console.info(`[flipper-server] Shutdown running instance`);
|
||||
await shutdownRunningInstance(argv.port);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user