visionmedia/mocha — Issue #269: when using --watch if test has missing dependency watch dies
Author: AutomatedTester
Created: 2012-02-17 12:30:35+00:00
State: open

If I run watch on the following and my `node_modules` havent been installed then watch dies. It would be good for it to notice the error and then wait for an update like [nodemon](https://github.com/remy/nodemon)

``` javascript
var mongoose = require("mongoose")
, assert = require("assert");

describe('logging',function(){
beforeEach(function(done){
done;
});

describe('messages', function(){
it('should push data into mongo', function(done){
done()
});
});

afterEach(function(done){
done();
});
});
```