Fix for config.js, fs.watchFile doesn't work #145

Merged
merged 1 commit into from Oct 20, 2012
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(); }
});
};