mikeal/watch — Issue #21: watchTree ignores options.ignoreDotFiles
Author: cmadsen
Created: 2011-12-20 11:36:11+00:00
State: open

watchTree will pick up dot files up on changes even if ignoreDotFiles=true this causes eg .svn be monitored

nfiles.forEach(function (b) {
var file = path.join(f, b);
// added to skip dot files
if (options.ignoreDotFiles && path.basename(file)[0] === '.') return;
if (options.filter && options.filter(file)) return;