Permalink
Browse files

Fix for config.js, use fs.watch instead of fs.watchFile

  • Loading branch information...
Diego Varese
Diego Varese committed Aug 20, 2012
1 parent 4bd7597 commit 19814bd69f37f38412e9f47ca321cc16faf19005
Showing with 1 addition and 1 deletion.
  1. +1 −1 config.js
View
@@ -21,7 +21,7 @@ var Configurator = function (file) {
this.updateConfig();
- fs.watchFile(file, function (curr, prev) {
+ fs.watch(file, function (curr, prev) {
if (curr.ino != prev.ino) { self.updateConfig(); }
});
};

0 comments on commit 19814bd

Please sign in to comment.