Permalink
Browse files

added exports so that it works

  • Loading branch information...
kalisjoshua committed Sep 11, 2012
1 parent dbca8cc commit 1567535c7e1b829da77bf9153694501852889298
Showing with 2 additions and 2 deletions.
  1. +2 −2 sherpa.js
View
@@ -1,5 +1,5 @@
/*jshint laxcomma:true strict:false*/
-/*globals require*/
+/*globals module require*/
var fs = require("fs")
, path = require("path")
, util = require('util');
@@ -35,7 +35,7 @@ function walk (start, callback) {
});
}
-function watch (root, interval, callback) {
+module.exports = function (root, interval, callback) {
if (arguments.length < 2) {
throw("Invalid arguments");
}

0 comments on commit 1567535

Please sign in to comment.