{"action":"created","issue":{"url":"https://api.github.com/repos/joyent/node/issues/25345","labels_url":"https://api.github.com/repos/joyent/node/issues/25345/labels{/name}","comments_url":"https://api.github.com/repos/joyent/node/issues/25345/comments","events_url":"https://api.github.com/repos/joyent/node/issues/25345/events","html_url":"https://github.com/joyent/node/issues/25345","id":77600115,"number":25345,"title":"fs.watchFile regression in 0.12","user":{"login":"kanongil","id":753512,"avatar_url":"https://avatars.githubusercontent.com/u/753512?v=3","gravatar_id":"","url":"https://api.github.com/users/kanongil","html_url":"https://github.com/kanongil","followers_url":"https://api.github.com/users/kanongil/followers","following_url":"https://api.github.com/users/kanongil/following{/other_user}","gists_url":"https://api.github.com/users/kanongil/gists{/gist_id}","starred_url":"https://api.github.com/users/kanongil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanongil/subscriptions","organizations_url":"https://api.github.com/users/kanongil/orgs","repos_url":"https://api.github.com/users/kanongil/repos","events_url":"https://api.github.com/users/kanongil/events{/privacy}","received_events_url":"https://api.github.com/users/kanongil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-18T10:29:17Z","updated_at":"2015-05-20T17:17:42Z","closed_at":null,"body":"When `fs.watchFile(path, callback)` is called on an non-existing file, the `0.12` behavior is different than `0.10`.\r\n\r\nIn `0.10.38`, the callback is never called.\r\n\r\nIn `0.12.2`, the callback is called immediately with this object as `curr` and `prev`:\r\n```js\r\n{ dev: 0,\r\n  mode: 0,\r\n  nlink: 0,\r\n  uid: 0,\r\n  gid: 0,\r\n  rdev: 0,\r\n  blksize: 0,\r\n  ino: 0,\r\n  size: 0,\r\n  blocks: 0,\r\n  atime: Thu Jan 01 1970 01:00:00 GMT+0100 (CET),\r\n  mtime: Thu Jan 01 1970 01:00:00 GMT+0100 (CET),\r\n  ctime: Thu Jan 01 1970 01:00:00 GMT+0100 (CET),\r\n  birthtime: Thu Jan 01 1970 01:00:00 GMT+0100 (CET) }\r\n```\r\n\r\nThis new behavior breaks one of my scripts."},"comment":{"url":"https://api.github.com/repos/joyent/node/issues/comments/103966081","html_url":"https://github.com/joyent/node/issues/25345#issuecomment-103966081","issue_url":"https://api.github.com/repos/joyent/node/issues/25345","id":103966081,"user":{"login":"dnakamura","id":12418336,"avatar_url":"https://avatars.githubusercontent.com/u/12418336?v=3","gravatar_id":"","url":"https://api.github.com/users/dnakamura","html_url":"https://github.com/dnakamura","followers_url":"https://api.github.com/users/dnakamura/followers","following_url":"https://api.github.com/users/dnakamura/following{/other_user}","gists_url":"https://api.github.com/users/dnakamura/gists{/gist_id}","starred_url":"https://api.github.com/users/dnakamura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnakamura/subscriptions","organizations_url":"https://api.github.com/users/dnakamura/orgs","repos_url":"https://api.github.com/users/dnakamura/repos","events_url":"https://api.github.com/users/dnakamura/events{/privacy}","received_events_url":"https://api.github.com/users/dnakamura/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T17:17:42Z","updated_at":"2015-05-20T17:17:42Z","body":"Node versions affected: 0.12.2\r\nPlatforms affected: linux, win, mac\r\nHigh priority/critical category: no\r\nrecommended priority: P-2\r\nExisting io.js issue: N/A\r\nPull request included: no\r\nReproducible: yes\r\nExists in later version: 0.13.0-pre\r\n@joyent/node-coreteam"}}