Skip to content

Commit 97120bc

Browse files
committed
doc: set off note in styling consistent with existing docs
1 parent 0cc60e5 commit 97120bc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/api/fs.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -556,9 +556,9 @@ These stat objects are instances of `fs.Stat`.
556556
If you want to be notified when the file was modified, not just accessed
557557
you 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`.
569569
Calling `fs.unwatchFile()` with a filename that is not being watched is a
570570
no-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

0 commit comments

Comments
 (0)