build(broccoli): TreeDiffer should log associated plugin name rather than inputPath

Usually we don't care what we are diffing, but why we are diffing it. With this change we see what is causing build slowdown
due to diffing.
This commit is contained in:
Igor Minar
2015-05-27 15:57:19 -07:00
parent 533c64d4ea
commit 9b0fa0dedc
3 changed files with 18 additions and 17 deletions

View File

@ -102,7 +102,8 @@ class DiffingPluginWrapper implements BroccoliTree {
let includeExtensions = this.pluginClass.includeExtensions || [];
let excludeExtensions = this.pluginClass.excludeExtensions || [];
this.initialized = true;
this.treeDiffer = new TreeDiffer(this.inputPath, includeExtensions, excludeExtensions);
this.treeDiffer =
new TreeDiffer(this.description, this.inputPath, includeExtensions, excludeExtensions);
this.wrappedPlugin =
new this.pluginClass(this.inputPath, this.cachePath, this.wrappedPluginArguments[1]);
}