{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-cli/issues/270","labels_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/270/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/270/comments","events_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/270/events","html_url":"https://github.com/driftyco/ionic-cli/pull/270","id":59004613,"number":270,"title":"Allow the creation of the root directory based on an ionic.project file ...","user":{"login":"vasconcelloslf","id":816490,"avatar_url":"https://avatars.githubusercontent.com/u/816490?v=3","gravatar_id":"","url":"https://api.github.com/users/vasconcelloslf","html_url":"https://github.com/vasconcelloslf","followers_url":"https://api.github.com/users/vasconcelloslf/followers","following_url":"https://api.github.com/users/vasconcelloslf/following{/other_user}","gists_url":"https://api.github.com/users/vasconcelloslf/gists{/gist_id}","starred_url":"https://api.github.com/users/vasconcelloslf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vasconcelloslf/subscriptions","organizations_url":"https://api.github.com/users/vasconcelloslf/orgs","repos_url":"https://api.github.com/users/vasconcelloslf/repos","events_url":"https://api.github.com/users/vasconcelloslf/events{/privacy}","received_events_url":"https://api.github.com/users/vasconcelloslf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"jbavari","id":1414692,"avatar_url":"https://avatars.githubusercontent.com/u/1414692?v=3","gravatar_id":"","url":"https://api.github.com/users/jbavari","html_url":"https://github.com/jbavari","followers_url":"https://api.github.com/users/jbavari/followers","following_url":"https://api.github.com/users/jbavari/following{/other_user}","gists_url":"https://api.github.com/users/jbavari/gists{/gist_id}","starred_url":"https://api.github.com/users/jbavari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbavari/subscriptions","organizations_url":"https://api.github.com/users/jbavari/orgs","repos_url":"https://api.github.com/users/jbavari/repos","events_url":"https://api.github.com/users/jbavari/events{/privacy}","received_events_url":"https://api.github.com/users/jbavari/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2015-02-26T01:49:43Z","updated_at":"2015-03-26T23:00:28Z","closed_at":"2015-03-05T22:50:56Z","pull_request":{"url":"https://api.github.com/repos/driftyco/ionic-cli/pulls/270","html_url":"https://github.com/driftyco/ionic-cli/pull/270","diff_url":"https://github.com/driftyco/ionic-cli/pull/270.diff","patch_url":"https://github.com/driftyco/ionic-cli/pull/270.patch"},"body":"Hello.\r\n\r\nI've built with gulp an asset pipeline feature that runs through the ```ionic serve``` command. This pipeline takes the source files from ```my-project/www```, processes them in many different ways, then outputs the result in the ```my-project/www/dist``` dir, which contains the raw js/css that will be served trough ```ionic serve``` and wrapped by cordova in an android/ios project.\r\n\r\nHere is my problem: since the content of the ```my-project/www/dist``` always comes from the same source (www), I don't track it with git, just like no one tracks the ```my-project/platforms``` dir. Because of that, after cheking out my project, the ```ionic serve``` throws an error and tells me that the ```www``` dir is not found. So this PR do the following:\r\n\r\n- fix the ```ionic serve```error message to output the current dir used as the documentRoot\r\n- allows the creation of the document root, if it doesn't exist, through a ```createDocumentRoot``` option in the ionic.project file\r\n\r\nWhat do you think?\r\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-cli/issues/comments/86748138","html_url":"https://github.com/driftyco/ionic-cli/pull/270#issuecomment-86748138","issue_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/270","id":86748138,"user":{"login":"vasconcelloslf","id":816490,"avatar_url":"https://avatars.githubusercontent.com/u/816490?v=3","gravatar_id":"","url":"https://api.github.com/users/vasconcelloslf","html_url":"https://github.com/vasconcelloslf","followers_url":"https://api.github.com/users/vasconcelloslf/followers","following_url":"https://api.github.com/users/vasconcelloslf/following{/other_user}","gists_url":"https://api.github.com/users/vasconcelloslf/gists{/gist_id}","starred_url":"https://api.github.com/users/vasconcelloslf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vasconcelloslf/subscriptions","organizations_url":"https://api.github.com/users/vasconcelloslf/orgs","repos_url":"https://api.github.com/users/vasconcelloslf/repos","events_url":"https://api.github.com/users/vasconcelloslf/events{/privacy}","received_events_url":"https://api.github.com/users/vasconcelloslf/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T23:00:28Z","updated_at":"2015-03-26T23:00:28Z","body":"@jbavari Ok, I will be waiting. Let me know if you need anything."}}