02 Feb 2014, 21:50

Bill Gathen (28 posts)

In the net-watcher.js example, the fs.watch connection.write uses Date.now() to output a datestamp, but Date.now() returns the number of millis since the epoch.

Switching to new Date() gives the expected output.

I’m on node 0.10.21 on mac 10.9.1.

03 Feb 2014, 11:26

Bill Gathen (28 posts)

I see this is already noted in the errata. Apologies for the dupe.

26 May 2014, 11:27

Jim R. Wilson (68 posts)

Thanks for reporting it!

  You must be logged in to comment