build(node_tree): fix broken test.unit.cjs task which breaks on rebuild

This commit is contained in:
Igor Minar 2015-05-19 17:40:50 -07:00
parent c204835969
commit 4ba81bf3eb
1 changed files with 5 additions and 0 deletions

View File

@ -114,6 +114,11 @@ module.exports = function makeNodeTree(destinationPath) {
}
});
// TODO(iminar): tree differ seems to have issues with trees created by mergeTrees, investigate!
// ENOENT error is thrown while doing fs.readdirSync on inputRoot
// in the meantime, we just do noop mv to create a new tree
traceurCompatibleTsModulesTree = stew.mv(traceurCompatibleTsModulesTree, '');
var typescriptTree = compileWithTypescript(traceurCompatibleTsModulesTree, {
allowNonTsExtensions: false,
emitDecoratorMetadata: true,