Export node as JSON

Summary:
There has been multiple requests to incorporate an export to plain text functionality for a while.

This diff adds it.

It will export a node and optionally its chidren as JSON.

Reviewed By: antonk52

Differential Revision: D49596476

fbshipit-source-id: 3681bc0c2d02e1ea64ff589e0e272f6d54ad0524
This commit is contained in:
Lorenzo Blasa
2023-09-25 08:44:37 -07:00
committed by Facebook GitHub Bot
parent 5accf039c9
commit c1b0d9d753
5 changed files with 78 additions and 6 deletions

View File

@@ -178,7 +178,9 @@ async function startHTTPServer(
});
return new Promise((resolve) => {
console.log(`Starting server on http://localhost:${config.port}`);
console.info(
`[flipper-server] Starting server on http://localhost:${config.port}`,
);
const readyForIncomingConnections = (
serverImpl: FlipperServerImpl,
companionEnv: FlipperServerCompanionEnv,