reekoheek/devreload — pull request #6 by ZombieHippie (2014-02-05 19:02:19+00:00)
Title: Optional to use watcher, and nodemon.reload()

May need a solid example to use with nodemon, but it works like this in my script:

```javascript
var devreload, http, ndm;
ndm = require('nodemon');
devreload = require('devreload');
http = require('http');

devreload.listen(http.createServer(), {
watch: null,
port: 9999
});

ndm({
script: 'app.coffee',
ignore: ['static/*']
}).on('restart', function(files) {
return devreload.reload();
}).on('log', function(log){
return console.log(log.colour);
};
```
I'm sure that a similar procedure will allow devreload compatibility with other restart on change executors