Permalink
Browse files

watchFile moved from process to fs.

Bugfix from Sam Pullara
  • Loading branch information...
1 parent df93a40 commit b124bff789164128f080b33dfff00012ce0d5dcb @isaacs isaacs committed Mar 21, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/supervisor.js
View
@@ -1,5 +1,6 @@
var sys = require("sys");
+var fs = require("fs");
exports.run = run;
@@ -83,5 +84,5 @@ function stopCrashing () {
}
function watchFile (watch) {
- process.watchFile(watch, crash);
+ fs.watchFile(watch, crash);
}

0 comments on commit b124bff

Please sign in to comment.