Comparing version 0.1.2 to 0.1.3
@@ -5,3 +5,3 @@ { | ||
"description": "Watch files in a directory for changes/updates", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"homepage": "http://github.com/kalisjoshua/sherpa", | ||
@@ -8,0 +8,0 @@ "repository": { |
/*jshint laxcomma:true strict:false*/ | ||
/*globals module require*/ | ||
/*globals console module require*/ | ||
var fs = require("fs") | ||
, path = require("path") | ||
, util = require('util'); | ||
, path = require("path"); | ||
function puts(error, stdout/*, stderr*/) { | ||
util.puts(stdout); | ||
} | ||
function walk (start, callback) { | ||
@@ -53,3 +48,3 @@ fs.lstat(start, function (err, stat) { | ||
puts(null, "Watching " + root + " every " + opts.interval / 1000 + " seconds for changes..."); | ||
console.log("Watching", root, "every", opts.interval / 1000, "seconds for changes..."); | ||
@@ -56,0 +51,0 @@ walk(root, function (err, dir, files) { |
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
3193
46