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

@@ -384,11 +384,7 @@ export function sleep(ms: number) {
let proc: child.ChildProcess | undefined;
export async function launchServer(
startBundler: boolean,
open: boolean,
tcp: boolean,
) {
export async function launchServer(startBundler: boolean, open: boolean) {
if (proc) {
console.log('⚙️ Killing old flipper-server...');
proc.kill(9);
@@ -401,7 +397,6 @@ export async function launchServer(
`../flipper-server/server.js`,
startBundler ? `--bundler` : `--no-bundler`,
open ? `--open` : `--no-open`,
tcp ? `--tcp` : `--no-tcp`,
],
{
cwd: serverDir,