broccoli-persistent-filter
Advanced tools
Comparing version 2.2.2 to 2.2.3
# master | ||
# 2.2.3 | ||
* skip applyPatches phase, if no patches exist | ||
# 2.2.2 | ||
* Bump hash-for-dep fixing https://github.com/emberjs/ember.js/issues/17678 (#161) | ||
# 2.2.0 | ||
@@ -4,0 +12,0 @@ |
12
index.js
@@ -129,7 +129,8 @@ 'use strict'; | ||
this.currentTree = new FSTree(); | ||
let instrumentation = heimdall.start('reset'); | ||
rimraf.sync(this.outputPath); | ||
mkdirp.sync(this.outputPath); | ||
instrumentation.stop(); | ||
} | ||
this._needsReset = true; | ||
@@ -164,5 +165,12 @@ let srcDir = this.inputPaths[0]; | ||
if (patches.length === 0) { | ||
// no work, exit early | ||
return Promise.resolve(); | ||
} else { | ||
// do actual work, that may fail | ||
this._needsReset = true; | ||
} | ||
// used with options.async = true to allow 'create' and 'change' operations to complete async | ||
const pendingWork = []; | ||
return heimdall.node('applyPatches', ApplyPatchesSchema, instrumentation => { | ||
@@ -169,0 +177,0 @@ let prevTime = process.hrtime(); |
{ | ||
"name": "broccoli-persistent-filter", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "broccoli filter but with a persistent cache", | ||
@@ -38,3 +38,3 @@ "author": "Stefan Penner <stefan.penner@gmail.com>", | ||
"broccoli-plugin": "^1.0.0", | ||
"fs-tree-diff": "^1.0.2", | ||
"fs-tree-diff": "^2.0.0", | ||
"hash-for-dep": "^1.5.0", | ||
@@ -41,0 +41,0 @@ "heimdalljs": "^0.2.1", |
29967
477
+ Added@types/symlink-or-copy@1.2.2(transitive)
+ Addedfs-tree-diff@2.0.1(transitive)
- Removedfs-tree-diff@1.0.2(transitive)
Updatedfs-tree-diff@^2.0.0