{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/flow/issues/389","labels_url":"https://api.github.com/repos/facebook/flow/issues/389/labels{/name}","comments_url":"https://api.github.com/repos/facebook/flow/issues/389/comments","events_url":"https://api.github.com/repos/facebook/flow/issues/389/events","html_url":"https://github.com/facebook/flow/issues/389","id":68503880,"number":389,"title":"Use defaults when no .flowconfig present","user":{"login":"mcandre","id":5316,"avatar_url":"https://avatars.githubusercontent.com/u/5316?v=3","gravatar_id":"","url":"https://api.github.com/users/mcandre","html_url":"https://github.com/mcandre","followers_url":"https://api.github.com/users/mcandre/followers","following_url":"https://api.github.com/users/mcandre/following{/other_user}","gists_url":"https://api.github.com/users/mcandre/gists{/gist_id}","starred_url":"https://api.github.com/users/mcandre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcandre/subscriptions","organizations_url":"https://api.github.com/users/mcandre/orgs","repos_url":"https://api.github.com/users/mcandre/repos","events_url":"https://api.github.com/users/mcandre/events{/privacy}","received_events_url":"https://api.github.com/users/mcandre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-14T21:35:48Z","updated_at":"2015-04-14T21:59:47Z","closed_at":null,"body":"Assume some defaults, so that newbies can use flow without fear. They shouldn't see\r\n\r\n```\r\n$ flow\r\nCould not find a .flowconfig in . or any of its parent directories\r\n```"},"comment":{"url":"https://api.github.com/repos/facebook/flow/issues/comments/93082378","html_url":"https://github.com/facebook/flow/issues/389#issuecomment-93082378","issue_url":"https://api.github.com/repos/facebook/flow/issues/389","id":93082378,"user":{"login":"gabelevi","id":1887264,"avatar_url":"https://avatars.githubusercontent.com/u/1887264?v=3","gravatar_id":"","url":"https://api.github.com/users/gabelevi","html_url":"https://github.com/gabelevi","followers_url":"https://api.github.com/users/gabelevi/followers","following_url":"https://api.github.com/users/gabelevi/following{/other_user}","gists_url":"https://api.github.com/users/gabelevi/gists{/gist_id}","starred_url":"https://api.github.com/users/gabelevi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabelevi/subscriptions","organizations_url":"https://api.github.com/users/gabelevi/orgs","repos_url":"https://api.github.com/users/gabelevi/repos","events_url":"https://api.github.com/users/gabelevi/events{/privacy}","received_events_url":"https://api.github.com/users/gabelevi/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T21:59:47Z","updated_at":"2015-04-14T21:59:47Z","body":"At the very least we need to know the root directory for the project. Technically `touch /path/to/root/.flowconfig` (which is basically what `flow init` does) is sufficient for Flow to run and know that the root of the project is at `/path/to/root`. If settings don't appear in the `.flowconfig` we assume the defaults. \r\n\r\nWe could always assume that the current working directory is the project root if we can't find a `.flowconfig`, but I'm worried that we're going to end up with flow servers watching lots of random directories. Every time you run `flow` in the wrong directory it will start up a new server. The `.flowconfig`'s do a good job of marking the places where flow servers should be running"}}