Skip to content

Commit 66f50d7

Browse files
committed
feat(watcher): use polling on Mac
Revert to polling on Mac. Use OS events on Linux and Windows. Eventually I wanna get rid off polling even on Mac, however it's not ready yet. See: https://github.com/pipobscure/fsevents/issues/17 paulmillr/chokidar#87 Basically reverts e88fbc2.
1 parent e99f187 commit 66f50d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ var Config = function() {
196196
this.colors = true;
197197
this.autoWatch = true;
198198
this.autoWatchBatchDelay = 250;
199-
this.usePolling = false;
199+
this.usePolling = process.platform === 'darwin';
200200
this.reporters = ['progress'];
201201
this.singleRun = false;
202202
this.browsers = [];

0 commit comments

Comments
 (0)