{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/628","labels_url":"https://api.github.com/repos/facebook/react-native/issues/628/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/628/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/628/events","html_url":"https://github.com/facebook/react-native/issues/628","id":66006710,"number":628,"title":"[Packager] Switch file watcher to Chokidar","user":{"login":"paulmillr","id":574696,"avatar_url":"https://avatars.githubusercontent.com/u/574696?v=3","gravatar_id":"","url":"https://api.github.com/users/paulmillr","html_url":"https://github.com/paulmillr","followers_url":"https://api.github.com/users/paulmillr/followers","following_url":"https://api.github.com/users/paulmillr/following{/other_user}","gists_url":"https://api.github.com/users/paulmillr/gists{/gist_id}","starred_url":"https://api.github.com/users/paulmillr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulmillr/subscriptions","organizations_url":"https://api.github.com/users/paulmillr/orgs","repos_url":"https://api.github.com/users/paulmillr/repos","events_url":"https://api.github.com/users/paulmillr/events{/privacy}","received_events_url":"https://api.github.com/users/paulmillr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"amasad","id":587518,"avatar_url":"https://avatars.githubusercontent.com/u/587518?v=3","gravatar_id":"","url":"https://api.github.com/users/amasad","html_url":"https://github.com/amasad","followers_url":"https://api.github.com/users/amasad/followers","following_url":"https://api.github.com/users/amasad/following{/other_user}","gists_url":"https://api.github.com/users/amasad/gists{/gist_id}","starred_url":"https://api.github.com/users/amasad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amasad/subscriptions","organizations_url":"https://api.github.com/users/amasad/orgs","repos_url":"https://api.github.com/users/amasad/repos","events_url":"https://api.github.com/users/amasad/events{/privacy}","received_events_url":"https://api.github.com/users/amasad/received_events","type":"User","site_admin":false},"milestone":null,"comments":37,"created_at":"2015-04-02T20:34:23Z","updated_at":"2015-06-02T21:27:09Z","closed_at":"2015-06-02T21:27:09Z","body":"Hey. You are currently using sane for file watching. How about using chokidar?\r\n\r\n1. Community:\r\n    - [Sane](https://www.npmjs.com/package/sane) was downloaded 98K times last month.\r\n    - [Chokidar](https://www.npmjs.com/package/chokidar) was downloaded 58K times **just yesterday**. It is also used by socketstream and stuff like Gulp is switching to it right now.\r\n2. Bugs:\r\n    - Chokidar is obviously **more** tested in real-world applications - we have a solid track of 24m+ stable releases. We are not aware of any \"node watch bugs\" you mention on the web site — with correct implementation. Chokidar also has huge test coverage.\r\n3. Speed:\r\n    - With Chokidar, you may use our *fastest* available polling for OSX with FSEvents. Sane also uses FSevents, but through [child_process](https://github.com/amasad/sane/blob/master/src/watchman_watcher.js#L5). This is NOT fast and also error-prone. Chokidar uses FSevents with native calls.\r\n\r\nI know that Sane is made by facebook dude, but how about trying more stable & robust solution?"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/108103356","html_url":"https://github.com/facebook/react-native/issues/628#issuecomment-108103356","issue_url":"https://api.github.com/repos/facebook/react-native/issues/628","id":108103356,"user":{"login":"amasad","id":587518,"avatar_url":"https://avatars.githubusercontent.com/u/587518?v=3","gravatar_id":"","url":"https://api.github.com/users/amasad","html_url":"https://github.com/amasad","followers_url":"https://api.github.com/users/amasad/followers","following_url":"https://api.github.com/users/amasad/following{/other_user}","gists_url":"https://api.github.com/users/amasad/gists{/gist_id}","starred_url":"https://api.github.com/users/amasad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amasad/subscriptions","organizations_url":"https://api.github.com/users/amasad/orgs","repos_url":"https://api.github.com/users/amasad/repos","events_url":"https://api.github.com/users/amasad/events{/privacy}","received_events_url":"https://api.github.com/users/amasad/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T21:27:09Z","updated_at":"2015-06-02T21:27:09Z","body":"Going to close because it's not really actionable (we can continue to discuss). Let's revisit if once we have a plan to address the issues above."}}