diff --git a/packager/react-packager/src/FileWatcher/index.js b/packager/react-packager/src/FileWatcher/index.js index 6f451b482297f9..9af96c1442ce07 100644 --- a/packager/react-packager/src/FileWatcher/index.js +++ b/packager/react-packager/src/FileWatcher/index.js @@ -64,7 +64,10 @@ FileWatcher.prototype.end = function() { function createWatcher(rootConfig) { return detectingWatcherClass.then(function(Watcher) { - var watcher = new Watcher(rootConfig.dir, rootConfig.globs); + var watcher = new Watcher(rootConfig.dir, { + glob: rootConfig.globs, + dot: false, + }); return new Promise(function(resolve, reject) { var rejectTimeout = setTimeout(function() {