From 66f50d7e584d4cbde820e70746be3f3378440fa8 Mon Sep 17 00:00:00 2001
From: Vojta Jina <vojta.jina@gmail.com>
Date: Tue, 24 Dec 2013 09:49:10 -0800
Subject: [PATCH] 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
https://github.com/paulmillr/chokidar/issues/87

Basically reverts e88fbc24dd34e7976cae2547bad07e6f044a768b.
---
 lib/config.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/config.js b/lib/config.js
index d992e13cc..364088224 100644
--- a/lib/config.js
+++ b/lib/config.js
@@ -196,7 +196,7 @@ var Config = function() {
   this.colors = true;
   this.autoWatch = true;
   this.autoWatchBatchDelay = 250;
-  this.usePolling = false;
+  this.usePolling = process.platform === 'darwin';
   this.reporters = ['progress'];
   this.singleRun = false;
   this.browsers = [];