remove unwanted eventListener removal

pull/3601/head
Joseph Izang 2 years ago
parent 2534f4efdf
commit 53f33872d4
  1. 1
      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) => { this.eventEmitter.on('compilationFinished', async (build: Build, fileName: string) => {
await this.docgen([build]) await this.docgen([build])
}) })
this.eventEmitter.removeAllListeners('compilationFinished')
} }
} }

Loading…
Cancel
Save