Cordell - One bad mofo directory walker and file watcher
One bad mother...
A walker, watcher, and CI utility that delivers a smooth roundhouse kick to your current development environment.
I like chokidar and it was inspiration for this project. However, I wanted a clean way to get a snapshot of the files that already existed and those files that were added later. I wanted a utility that was a bit more verbose when describing what it was doing when it was doing it. I wanted a utility that separated the recursive directory walking chocolate from the file watching peanut butter, but still come together in perfect harmony.
Finally, I wanted a utility that watched my files as I coded and immediately linted and tested them when there are changes... over and over again... while flushing the require cache and dynamically reloading modules in a single process.
I feel Cordell does all that and more.
Cordell can be installed via the node.js package manager
npm install cordell
Then just require the package like normal
var cordell = ;var walker = cordell
var watcher = cordell
options =ignorePath: /fixtures/persistent: truelinter:enabled: oncoffeelint:pattern: /.*\.coffee$/options: indentation: value: 4 level: "error"tester:enabled: onmocha:pattern: /^.*_test\.coffee$/options: reporter:'spec'ranger = cordell;
See the test.coffee script, we eat our own dog food here...
coming soon... (read the test files for now)