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') } }