ForbesLindesay / browserify-middleware

express middleware for browserify, done right
http://browserify.org
MIT License
381 stars 66 forks source link

Automatically determine if polling should be enabled to reduce CPU usage #97

Open jeremija opened 8 years ago

jeremija commented 8 years ago

I implemented a simple way to determine if polling should be used for watchiy based on the comments in the issue #96. Please review.

Closes #96

Note I've only tested this on Mac OS X, but it should work on other systems as well!

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.8%) to 91.732% when pulling cb2f5d139894153ffd1f5b87cb8cd1d3d81e7a4f on jeremija:jeremija-should-poll into a145c7cc0bc8a357d481af8c953bad54a0683563 on ForbesLindesay:master.