Last active
October 3, 2015 02:23
-
-
Save yurenju/e3cb96ca9a4baf38e66e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
var fs = require('fs'); | |
var path = require('path'); | |
require('shelljs/global'); | |
fs.watch('client', {recursive: true}, function(event, filename) { | |
exec('mocha -t 5000 --harmony --growl ' + | |
'test/test.' + path.basename(filename)); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment