diff --git a/src/index.ts b/src/index.ts index 152c2171..844eb8b8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -659,7 +659,8 @@ class ForkTsCheckerWebpackPlugin { private handleServiceMessage(message: Message): void { if (this.measureTime) { const delta = this.performance.now() - this.startAt; - this.logger.info(`compilation took: ${delta} ms.`); + const deltaRounded = Math.round(delta *100) / 100; + this.logger.info(`Compilation took: ${deltaRounded} ms.`); } if (this.cancellationToken) { this.cancellationToken.cleanupCancellation();