Skip to content

Commit 2f98aa7

Browse files
filipesilvaBrocco
authored andcommittedOct 3, 2017
fix(@ngtools/webpack): don't create forked type checker when flag is false
1 parent 6d0af24 commit 2f98aa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/@ngtools/webpack/src/angular_compiler_plugin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ export class AngularCompilerPlugin implements Tapable {
569569
this._donePromise = Promise.resolve()
570570
.then(() => {
571571
// Create a new process for the type checker.
572-
if (!this._firstRun && !this._typeCheckerProcess) {
572+
if (this._forkTypeChecker && !this._firstRun && !this._typeCheckerProcess) {
573573
this._createForkedTypeChecker();
574574
}
575575
})

0 commit comments

Comments
 (0)