added 'w' option to detect changes with fs.watchFile, since fs.watch is not always working