Enable dispatch of events

Summary: To dispatch events, we need a valid instance of FlipperServer. This is the place so enable the recorder with it.

Reviewed By: antonk52

Differential Revision: D47295986

fbshipit-source-id: f2231544c58ba8f76e9102265e10a99520260b0a
This commit is contained in:
Lorenzo Blasa
2023-07-10 05:52:07 -07:00
committed by Facebook GitHub Bot
parent e20d723ac0
commit e484867f21

View File

@@ -85,6 +85,8 @@ export class ServerController
super();
this.flipperServer = flipperServer;
this.connectionTracker = new ConnectionTracker(this.logger);
recorder.enable(flipperServer);
}
onClientMessage(clientId: string, payload: string): void {