Chapter 2: standard and review edits
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
const fs = require('fs');
|
||||
const file = './file.txt';
|
||||
const fs = require('fs')
|
||||
const file = './file.txt'
|
||||
|
||||
fs.watchFile(file, (current, previous) => {
|
||||
return console.log(`${file} updated ${time}`)
|
||||
});
|
||||
return console.log(`${file} updated ${time}`)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user