Cross platform directory tree watcher, focussed on reliability, speed, and simplicity.
The philosophy of hound is:
hound is designed to be very reliable, fast, and simple. There are no runtime dependencies outside of the standard node.js libraries. There is a development dependency on Jasmine, which is required to run the tests.
Install using npm:
npm install hound
Because hound has no runtime dependencies, it is also possible to download the library manually and require it directly.
hound =// Create a directory tree watcher.watcher = hound// Create a file watcher.watcher = hound// Add callbacks for file and directory events. The change event only applies// to files.watcherwatcherwatcher// Unwatch specific files or directories.watcher// Unwatch all watched files and directories.watcherclear
To run the tests using your global Jasmine binary:
To run the tests using your local Jasmine binary in node_modules:
The tests work on actual directory trees that are generated in the tmp directory.