{"comment":{"created_at":"2011-10-17T18:11:50Z","body":"@mikeal Oops! Spoke too soon. Can you bump the version for this and publish to npm so I can resolve the forever issue?","updated_at":"2011-10-17T18:11:50Z","url":"https://api.github.com/repos/mikeal/watch/issues/comments/2432514","id":2432514,"user":{"gravatar_id":"d43e8ea63b61e7669ded5b9d3c2e980f","avatar_url":"https://secure.gravatar.com/avatar/d43e8ea63b61e7669ded5b9d3c2e980f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/indexzero","id":4624,"login":"indexzero"}},"action":"created","issue":{"number":13,"created_at":"2011-10-05T18:08:12Z","pull_request":{"diff_url":"https://github.com/mikeal/watch/pull/13.diff","patch_url":"https://github.com/mikeal/watch/pull/13.patch","html_url":"https://github.com/mikeal/watch/pull/13"},"body":"I'm using watch via the forever script, and that was detecting all files in my working copy as changed (even though none were - https://github.com/indexzero/forever/issues/129).\r\n\r\nI tracked it down to watch seemingly incorrectly matching dates.  Even though the dates are the same the == comparison fails.  I don't know what the cause of this is, I suppose it's false because they're not the same date object, I can reproduce it with this script...\r\n\r\n```javascript\r\nvar x = new Date();\r\nvar y = new Date();\r\n\r\nif ( x == y ) { \r\n    console.log( 'Equality matched!' );\r\n}\r\n\r\nif ( x.getTime() == y.getTime() ) { \r\n    console.log( 'getTime() matched!' );\r\n}\r\n```\r\n\r\nOnly the second will match, haven't tried this on any other system (i'm on osx with node 0.4.11).","comments":6,"title":"Fix for date match failing","updated_at":"2011-10-17T18:11:50Z","url":"https://api.github.com/repos/mikeal/watch/issues/13","id":1826363,"assignee":null,"milestone":null,"closed_at":"2011-10-11T10:53:19Z","user":{"gravatar_id":"6e283a554e50ee3d10e5386f85816463","avatar_url":"https://secure.gravatar.com/avatar/6e283a554e50ee3d10e5386f85816463?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/rodnaph","id":447579,"login":"rodnaph"},"html_url":"https://github.com/mikeal/watch/issues/13","labels":[],"state":"closed"},"legacy":{"issue_id":1826363,"comment_id":2432514}}