From 34304300c8290223e68497320d9be75e8918bd18 Mon Sep 17 00:00:00 2001 From: Lorenzo Blasa Date: Wed, 4 Oct 2023 05:37:12 -0700 Subject: [PATCH] Improved shutdown console log Summary: One log was misplaced, also added another one. Reviewed By: passy Differential Revision: D49873310 fbshipit-source-id: b391e2be600070eb96e6cd53846f5665f8400edc --- desktop/flipper-server/src/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop/flipper-server/src/index.tsx b/desktop/flipper-server/src/index.tsx index ef87bee3c..392529c51 100644 --- a/desktop/flipper-server/src/index.tsx +++ b/desktop/flipper-server/src/index.tsx @@ -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); } }