simple-watcher
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -44,3 +44,3 @@ 'use strict' | ||
let watchFolderFallback = (parent, callback) => { | ||
let watchFolderFallback = (parent, tolerance, callback) => { | ||
// This code is synchronous to be able to tell when it actually finishes. | ||
@@ -53,3 +53,3 @@ try { | ||
watchFolder(parent, false, callback) | ||
watchFolder(parent, false, tolerance, callback) | ||
@@ -59,3 +59,3 @@ // Iterate over list of children. | ||
child = path.resolve(parent, child) | ||
watchFolderFallback(child, callback) | ||
watchFolderFallback(child, tolerance, callback) | ||
}) | ||
@@ -82,3 +82,3 @@ } catch (err) { | ||
let cache = {} | ||
watchFolderFallback(workingDir, (localPath) => { | ||
watchFolderFallback(workingDir, tolerance, (localPath) => { | ||
fs.stat(localPath, (err, stat) => { | ||
@@ -85,0 +85,0 @@ // Delete cache entry. |
{ | ||
"name": "simple-watcher", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "\"A simple recursive directory watcher.\"", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
6258