Path Watcher Node Module
npm install pathwatcher
npm install
grunt
to compile the CoffeeScript and native codenpm test
to run the specsPathWatcher = require 'pathwatcher'
Watch for changes on filename
, where filename
is either a file or a
directory. The returned object is a PathWatcher.
The listener callback gets two arguments (event, path)
. event
is either
'rename' or 'change', and path
is the path of the file which triggered the
event.
Stop watching for changes on the given PathWatcher
.