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`.
556
556
If you want to be notified when the file was modified, not just accessed
557
557
you need to compare ` curr.mtime ` and ` prev.mtime ` .
558
558
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 ` .
560
560
` fs.watch ` should be used instead of ` fs.watchFile ` and ` fs.unwatchFile `
561
- when possible.
561
+ when possible._
562
562
563
563
## fs.unwatchFile(filename[ , listener] )
564
564
@@ -569,9 +569,9 @@ have effectively stopped watching `filename`.
569
569
Calling ` fs.unwatchFile() ` with a filename that is not being watched is a
570
570
no-op, not an error.
571
571
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 ` .
573
573
` fs.watch ` should be used instead of ` fs.watchFile ` and ` fs.unwatchFile `
574
- when possible.
574
+ when possible._
575
575
576
576
## fs.watch(filename[ , options] [ , listener ] )
577
577
You can’t perform that action at this time.
0 commit comments