{"action":"created","issue":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/2642","labels_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/2642/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/2642/comments","events_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/2642/events","html_url":"https://github.com/ember-cli/ember-cli/issues/2642","id":50865743,"number":2642,"title":"Watchman should not be looked for unless needed.","user":{"login":"rwjblue","id":12637,"avatar_url":"https://avatars.githubusercontent.com/u/12637?v=3","gravatar_id":"","url":"https://api.github.com/users/rwjblue","html_url":"https://github.com/rwjblue","followers_url":"https://api.github.com/users/rwjblue/followers","following_url":"https://api.github.com/users/rwjblue/following{/other_user}","gists_url":"https://api.github.com/users/rwjblue/gists{/gist_id}","starred_url":"https://api.github.com/users/rwjblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwjblue/subscriptions","organizations_url":"https://api.github.com/users/rwjblue/orgs","repos_url":"https://api.github.com/users/rwjblue/repos","events_url":"https://api.github.com/users/rwjblue/events{/privacy}","received_events_url":"https://api.github.com/users/rwjblue/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2014-12-03T17:18:44Z","updated_at":"2015-01-22T05:14:08Z","closed_at":"2015-01-22T05:13:48Z","body":"It seems that we are initializing `watchman` before any invocation when most do not need watching.\r\n\r\nA few examples:\r\n\r\n```\r\n% ember version\r\n\r\nversion: 0.1.3-master-0dc44fb0a8\r\nvalid watchman found, version: [3.0.0]\r\nnode: 0.10.33\r\nnpm: 2.1.10\r\n```\r\n\r\n```\r\n% ember build\r\nversion: 0.1.3-master-0dc44fb0a8\r\nvalid watchman found, version: [3.0.0]\r\nBuilt project successfully. Stored in \"dist/\".\r\n```\r\n\r\n```\r\n% ember generate component foo-bar\r\nversion: 0.1.3-master-0dc44fb0a8\r\nvalid watchman found, version: [3.0.0]\r\ninstalling\r\n  create app/components/foo-bar.js\r\n  create app/templates/components/foo-bar.hbs\r\ninstalling\r\n  create tests/unit/components/foo-bar-test.js\r\n```\r\n\r\nWe only use file watching for a two commands: `serve` and `test` (as far as I can tell).  We should start watchman in them instead of all the time."},"comment":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/comments/70972552","html_url":"https://github.com/ember-cli/ember-cli/issues/2642#issuecomment-70972552","issue_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/2642","id":70972552,"user":{"login":"stefanpenner","id":1377,"avatar_url":"https://avatars.githubusercontent.com/u/1377?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanpenner","html_url":"https://github.com/stefanpenner","followers_url":"https://api.github.com/users/stefanpenner/followers","following_url":"https://api.github.com/users/stefanpenner/following{/other_user}","gists_url":"https://api.github.com/users/stefanpenner/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanpenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanpenner/subscriptions","organizations_url":"https://api.github.com/users/stefanpenner/orgs","repos_url":"https://api.github.com/users/stefanpenner/repos","events_url":"https://api.github.com/users/stefanpenner/events{/privacy}","received_events_url":"https://api.github.com/users/stefanpenner/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T05:14:08Z","updated_at":"2015-01-22T05:14:08Z","body":"> I think they are very irritating even when I know what watchman is. I could alias --watcher=node into the command, but everyone on the project will have to do that, too, then. Sorry, it's just unneeded.\r\n\r\nyou are welcome to submit a PR that enables this via the .ember-cli config"}}