Use fs.watch() when available

Adds compatibility with more recent versions of Node.js
Merge pull request #1 from cbrunnkvist/patch-1

Use fs.watch() when available