{"action":"opened","issue":{"url":"https://api.github.com/repos/driftyco/ionic-cli/issues/438","labels_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/438/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/438/comments","events_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/438/events","html_url":"https://github.com/driftyco/ionic-cli/issues/438","id":79582462,"number":438,"title":"bug: CLI doesn't set exit code properly","user":{"login":"perrygovier","id":571056,"avatar_url":"https://avatars.githubusercontent.com/u/571056?v=3","gravatar_id":"","url":"https://api.github.com/users/perrygovier","html_url":"https://github.com/perrygovier","followers_url":"https://api.github.com/users/perrygovier/followers","following_url":"https://api.github.com/users/perrygovier/following{/other_user}","gists_url":"https://api.github.com/users/perrygovier/gists{/gist_id}","starred_url":"https://api.github.com/users/perrygovier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perrygovier/subscriptions","organizations_url":"https://api.github.com/users/perrygovier/orgs","repos_url":"https://api.github.com/users/perrygovier/repos","events_url":"https://api.github.com/users/perrygovier/events{/privacy}","received_events_url":"https://api.github.com/users/perrygovier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-22T19:40:35Z","updated_at":"2015-05-22T19:40:35Z","closed_at":null,"body":"_From @fahhem on May 22, 2015 0:4_\n\n**Type**: <span ionic-type>bug</span>\n\n**Platform**: <span ionic-platform>all</span>  \n\n<span ionic-description>If I have some invalid Android code and I run \"ionic build\", the exit code is set to 0 despite red build errors littering the screen. With it set to 0, I can't do something like this:\r\n\r\nionic build && notify-send Build worked || notify-send Build failed</span>\n\n<span is-issue-template></span>\n\n\n_Copied from original issue: driftyco/ionic#3806_"}}