Comparing version 0.18.0 to 0.18.1
@@ -0,1 +1,5 @@ | ||
# v0.18.1 | ||
- Defer resolving the `dir` passed to the `Defiler` constructor until `defiler.exec()` is called | ||
# v0.18.0 | ||
@@ -2,0 +6,0 @@ |
@@ -269,3 +269,2 @@ 'use strict'; | ||
} | ||
dir = path.resolve(dir); | ||
return (new Watcher({ dir, filter, read, enc, pre, watch, debounce })); | ||
@@ -287,2 +286,3 @@ }); | ||
await Promise.all(this._watchers.map(async (watcher) => { | ||
watcher.dir = path.resolve(watcher.dir); | ||
watcher.on('', event => this._enqueue(watcher, event)); | ||
@@ -289,0 +289,0 @@ await Promise.all((await watcher.init()).map(async (file) => { |
@@ -1,2 +0,2 @@ | ||
import { readdir, readFile, stat, watch } from 'fs'; | ||
import { watch, readdir, readFile, stat } from 'fs'; | ||
import { promisify } from 'util'; | ||
@@ -265,3 +265,2 @@ import * as EventEmitter from 'events'; | ||
} | ||
dir = resolve(dir); | ||
return (new Watcher({ dir, filter, read, enc, pre, watch: watch$$1, debounce })); | ||
@@ -283,2 +282,3 @@ }); | ||
await Promise.all(this._watchers.map(async (watcher) => { | ||
watcher.dir = resolve(watcher.dir); | ||
watcher.on('', event => this._enqueue(watcher, event)); | ||
@@ -285,0 +285,0 @@ await Promise.all((await watcher.init()).map(async (file) => { |
{ | ||
"name": "defiler", | ||
"version": "0.18.0", | ||
"version": "0.18.1", | ||
"description": "A small, strange building block", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
126414