From b606da5629028f7c31d01deb665655a64a959031 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Thu, 6 Apr 2023 13:34:09 +0100 Subject: [PATCH] remove unwanted eventListener removal --- apps/doc-gen/src/app/docgen-client.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/doc-gen/src/app/docgen-client.ts b/apps/doc-gen/src/app/docgen-client.ts index b1c0310390..ee06c3237f 100644 --- a/apps/doc-gen/src/app/docgen-client.ts +++ b/apps/doc-gen/src/app/docgen-client.ts @@ -89,6 +89,5 @@ export class DocGenClient extends PluginClient { this.eventEmitter.on('compilationFinished', async (build: Build, fileName: string) => { await this.docgen([build]) }) - this.eventEmitter.removeAllListeners('compilationFinished') } }