Skip to content

Commit

Permalink
Merge pull request #5269 from huangc28/fix-compilerjs-error-undefined…
Browse files Browse the repository at this point in the history
…-compiler

Fix typo that causes "TypeError: this.compiler.compiler is not a function
  • Loading branch information
sokra committed Jul 12, 2017
2 parents 95c7fa4 + 6c0e452 commit d312022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Compiler.js
Expand Up @@ -71,7 +71,7 @@ class Watching {

this.compiler.applyPluginsAsync("additional-pass", err => {
if(err) return this._done(err);
this.compiler.compiler(onCompiled);
this.compiler.compile(onCompiled);
});
return;
}
Expand Down

0 comments on commit d312022

Please sign in to comment.