📅  最后修改于: 2022-03-11 15:04:32.095000             🧑  作者: Mango
fs.watch('foo', function (event, filename) {
if (event == 'change') {
// Load file content
// Compare to one previously loaded
// actualContent = newContent
}
});