File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -556,9 +556,9 @@ These stat objects are instances of `fs.Stat`.
556556If you want to be notified when the file was modified, not just accessed
557557you need to compare ` curr.mtime ` and ` prev.mtime ` .
558558
559- ` fs.watch ` is more efficient than ` fs.watchFile ` and ` fs.unwatchFile ` .
559+ _ Note: ` fs.watch ` is more efficient than ` fs.watchFile ` and ` fs.unwatchFile ` .
560560` fs.watch ` should be used instead of ` fs.watchFile ` and ` fs.unwatchFile `
561- when possible.
561+ when possible._
562562
563563## fs.unwatchFile(filename[ , listener] )
564564
@@ -569,9 +569,9 @@ have effectively stopped watching `filename`.
569569Calling ` fs.unwatchFile() ` with a filename that is not being watched is a
570570no-op, not an error.
571571
572- ` fs.watch ` is more efficient than ` fs.watchFile ` and ` fs.unwatchFile ` .
572+ _ Note: ` fs.watch ` is more efficient than ` fs.watchFile ` and ` fs.unwatchFile ` .
573573` fs.watch ` should be used instead of ` fs.watchFile ` and ` fs.unwatchFile `
574- when possible.
574+ when possible._
575575
576576## fs.watch(filename[ , options] [ , listener ] )
577577
You can’t perform that action at this time.
0 commit comments