node-pathwatcher 0 travis-ci npm

Path Watcher Node Module

3 years after MIT

Path Watcher Node Module Build Status


npm install pathwatcher


  • Clone the repository
  • Run npm install to install the dependencies
  • Run npm test to run the specs


PathWatcher = require 'pathwatcher', [listener])

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 can be rename, delete or change, and path is the path of the file which triggered the event.

For directories, the change event is emitted when a file or directory under the watched directory got created or deleted. And the is not recursive, so changes of subdirectories under the watched directory would not be detected.


Stop watching for changes on the given PathWatcher.

Related Repositories



:crystal_ball: A globbing wrapper built from the best parts of other fi ...



Atom-Shell Package Manager (inofficial) ...

Top Contributors

kevinsawicki zcbenz nathansobo benogle as-cii 50Wliu smashwilson mostafaeweda maxbrunsfeld ssorallen paulcbetts Termina1 abe33 ficristo probablycorey benjamn TomFreudenberg ForNeVeR mnquintana bolinfest bradgearon dbkaplun glasser gustavohenke lwblackledge anderoonies magic890 nielsAD PeterDaveHello mojodna


package version
async ~0.2.10
emissary ^1.3.2
event-kit ^2.1.0
fs-plus ^3.0.0
grim ^2.0.1
iconv-lite ~0.4.4
nan 2.x
runas ^3.1.0
underscore-plus ~1.x
dev grunt ~0.4.1
grunt-contrib-coffee ~0.9.0
grunt-cli ~0.1.7
grunt-shell ~0.2.2
jasmine-tagged ^1.1
rimraf ~2.2.0
node-cpplint ~0.1.5
grunt-coffeelint git+
temp ~0.7.0
grunt-atomdoc ^1.0


-   v6.7.1 zip tar
-   v6.7.0 zip tar
-   v6.6.2 zip tar
-   v6.6.1 zip tar
-   v6.6.0 zip tar
-   v6.5.0 zip tar
-   v6.4.0 zip tar
-   v6.3.2 zip tar
-   v6.3.1 zip tar
-   v6.3.0 zip tar
-   v6.2.4 zip tar
-   v6.2.3 zip tar
-   v6.2.2 zip tar
-   v6.2.1 zip tar
-   v6.2.0 zip tar
-   v6.1.0 zip tar
-   v6.0.0 zip tar
-   v5.0.1 zip tar
-   v5.0.0 zip tar
-   v4.4.5-0 zip tar
-   v4.4.4 zip tar
-   v4.4.3 zip tar
-   v4.4.2 zip tar
-   v4.4.1 zip tar
-   v4.4.0 zip tar
-   v4.3.1 zip tar
-   v4.3.0 zip tar
-   v4.2.0 zip tar
-   v4.1.2 zip tar
-   v4.1.1 zip tar