Skip to content

Commit

Permalink
Fix for events option
Browse files Browse the repository at this point in the history
  • Loading branch information
floatdrop committed Jan 23, 2015
1 parent 7652fe5 commit bf46f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = function (globs, opts, cb) {
opts = opts || {};
cb = cb || function () {};

opts.events = ['add', 'change', 'unlink'];
opts.events = opts.events || ['add', 'change', 'unlink'];

var baseForced = !!opts.base;
var outputStream = new Duplex({objectMode: true, allowHalfOpen: true});
Expand Down

0 comments on commit bf46f28

Please sign in to comment.