diff --git a/lib/services/webpack/webpack-compiler-service.ts b/lib/services/webpack/webpack-compiler-service.ts index 4f0dd015da..297e306bef 100644 --- a/lib/services/webpack/webpack-compiler-service.ts +++ b/lib/services/webpack/webpack-compiler-service.ts @@ -46,6 +46,11 @@ export class WebpackCompilerService extends EventEmitter implements IWebpackComp return; } + // the hash of the compilation is the same as the previous one + if (this.expectedHashes[platformData.platformNameLowerCase] === message.hash) { + return; + } + let result; if (prepareData.hmr) {