busterjs/buster — Issue #97: autotest fails because of missing watch-tree
Author: jodal
Created: 2012-02-22 14:37:40+00:00
State: open

Using buster 0.4.5 beta 2, autotest is listed in the `--help` section, but doesn't work.

```
$ buster --help
Usage: buster [--version,-v] []

The most commonly used Buster.JS commands are:
test Run tests with Buster.JS
server Manually start the server for browser capturing
autotest Like 'test', but automatically re-run tests when files change
static An alternative static HTML page based runner

$ buster autotest

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'watch-tree'
at Function._resolveFilename (module.js:332:11)
at Function._load (module.js:279:25)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object. (/usr/local/lib/node_modules/buster/bin/buster-autotest:2:17)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Array.0 (module.js:479:10)
```

If you're on Linux you can fix this by installing https://github.com/cjohansen/watch-tree by hand.