Remove TCP option as it will be the only option

Summary: UDS will be removed. The first step would be to remove the TCP optionality.

Reviewed By: passy

Differential Revision: D48264741

fbshipit-source-id: ca9e1b68be61e99240e95bcd4f26f2db63a64005
This commit is contained in:
Lorenzo Blasa
2023-08-11 08:19:51 -07:00
committed by Facebook GitHub Bot
parent bdc2d5f6eb
commit 47b718d104
4 changed files with 12 additions and 49 deletions

View File

@@ -44,11 +44,6 @@ const argv = yargs
'[FB-internal only] Will force using public sources only, to be able to iterate quickly on the public version. If sources are checked out from GitHub this is already the default. Setting env var "FLIPPER_FORCE_PUBLIC_BUILD" is equivalent.',
type: 'boolean',
},
tcp: {
describe: 'Enable TCP connections on flipper-server.',
type: 'boolean',
default: true,
},
channel: {
description: 'Release channel for the build',
choices: ['stable', 'insiders'],
@@ -108,7 +103,7 @@ async function copyStaticResources() {
async function restartServer() {
try {
await compileServerMain(true);
await launchServer(true, ++startCount === 1, argv.tcp); // only open on the first time
await launchServer(true, ++startCount === 1); // only open on the first time
} catch (e) {
console.error(
chalk.red(