npm install pathwatcher
gruntto compile the CoffeeScript and native code
npm testto run the specs
PathWatcher = require 'pathwatcher'
Watch for changes on
filename is either a file or a
directory. The returned object is a PathWatcher.
The listener callback gets two arguments
event is either
'rename' or 'change', and
path is the path of the file which triggered the
Stop watching for changes on the given