不要怂,就是干,撸起袖子干!

Commit e56eabef by Jan Aagaard Meier

Deleted obsolete .watcher file (releted to old docs generation?

1 parent a728a7aa
Showing with 0 additions and 17 deletions
var watchr = require('watchr')
, spawn = require('child_process').spawn
watchr.watch({
paths: [__dirname + '/lib', __dirname + '/spec', __dirname + '/index.js'],
listener: function(eventName) {
if (['new', 'change'].indexOf(eventName) > -1) {
// generate the documentation
spawn('npm', ['run', 'docs'])
// run the tests
var buster = spawn('./node_modules/.bin/buster-test', ['--reporter', 'specification'], { env: process.ENV })
buster.stderr.on('data', function(data) { console.log(data.toString()) })
buster.stdout.on('data', function(data) { console.log(data.toString()) })
}
}
})
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!