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:
committed by
Facebook GitHub Bot
parent
bdc2d5f6eb
commit
47b718d104
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user