Replaced fs.watch with fs.watchFile