Skip to content

Commit

Permalink
Start Flipper HTTP server even if app server fails to start
Browse files Browse the repository at this point in the history
Summary:
**Issue**
From passy:
when one of the app server ports is occupied, Flipper PWA is stuck at the loading screen

Reviewed By: passy

Differential Revision: D50261985

fbshipit-source-id: 8ce90cd6d515c26a824645f642dacbe92e7f4105
  • Loading branch information
aigoncharov authored and facebook-github-bot committed Oct 13, 2023
1 parent 0134b66 commit 20038cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion desktop/flipper-server/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,9 @@ async function start() {
}
});
}
await flipperServer.connect();
await flipperServer
.connect()
.catch((e) => console.warn('Flipper Server failed to initialize', e));

const t8 = performance.now();
const appServerStartedMS = t8 - t7;
Expand Down

0 comments on commit 20038cd

Please sign in to comment.