added fs.notify to improve perf