Skip to content

Commit 2c66bb7

Browse files
committed
fix(file-watcher): don't ignore any files or directories by default - fixes #845
1 parent b4fa983 commit 2c66bb7

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

lib/file-watcher.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,7 @@ module.exports.plugin = function (bs) {
1111
var options = bs.options;
1212
var emitter = bs.emitter;
1313

14-
var defaultWatchOptions = require("immutable").Map({
15-
ignored: /^([.][^.\/\\])|([\/\\]+[.][^.])/
16-
})
17-
.mergeDeep(
18-
options.get("watchOptions") || options.get("watchoptions")
19-
)
20-
.toJS();
14+
var defaultWatchOptions = options.get("watchOptions").toJS();
2115

2216
return options.get("files").reduce(function (map, glob, namespace) {
2317

0 commit comments

Comments
 (0)