We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aaaaca commit 64ba157Copy full SHA for 64ba157
doc/api/fs.md
@@ -3903,7 +3903,7 @@ These stat objects are instances of `fs.Stat`. If the `bigint` option is `true`,
3903
the numeric values in these objects are specified as `BigInt`s.
3904
3905
To be notified when the file was modified, not just accessed, it is necessary
3906
-to compare `curr.mtime.getTime()` and `prev.mtime.getTime()`.
+to compare `curr.mtimeMs` and `prev.mtimeMs`.
3907
3908
When an `fs.watchFile` operation results in an `ENOENT` error, it
3909
will invoke the listener once, with all the fields zeroed (or, for dates, the
0 commit comments