buster-autotest
Advanced tools
Comparing version 0.3.0 to 0.4.0
@@ -31,5 +31,11 @@ var wt = require("fs-watch-tree"); | ||
function zeroPad(num) { | ||
return num < 10 ? "0" + num : num; | ||
} | ||
function printHeader() { | ||
var now = new Date(); | ||
var time = now.getHours() + ":" + now.getMinutes() + ":" + now.getSeconds(); | ||
var time = zeroPad(now.getHours()) + ":" + | ||
zeroPad(now.getMinutes()) + ":" + | ||
zeroPad(now.getSeconds()); | ||
util.puts(clearScreen + time + " Running tests"); | ||
@@ -90,3 +96,2 @@ } | ||
running = false; | ||
if (success(code) && files.length > 0) { runTests(); } | ||
}); | ||
@@ -93,0 +98,0 @@ }); |
{ | ||
"name": "buster-autotest", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "Watch files and run buster tests on save", | ||
@@ -5,0 +5,0 @@ "homepage": "http://busterjs.org/docs/autotest", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15379
339