remove unwanted eventListener removal

pull/5370/head
Joseph Izang 2 years ago
parent 1f61d8a646
commit b606da5629
  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