{"action":"closed","issue":{"url":"https://api.github.com/repos/ivogabe/gulp-typescript/issues/78","labels_url":"https://api.github.com/repos/ivogabe/gulp-typescript/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/ivogabe/gulp-typescript/issues/78/comments","events_url":"https://api.github.com/repos/ivogabe/gulp-typescript/issues/78/events","html_url":"https://github.com/ivogabe/gulp-typescript/issues/78","id":60722350,"number":78,"title":"allow the build to fail on compile errors","user":{"login":"alexeagle","id":47395,"avatar_url":"https://avatars.githubusercontent.com/u/47395?v=3","gravatar_id":"","url":"https://api.github.com/users/alexeagle","html_url":"https://github.com/alexeagle","followers_url":"https://api.github.com/users/alexeagle/followers","following_url":"https://api.github.com/users/alexeagle/following{/other_user}","gists_url":"https://api.github.com/users/alexeagle/gists{/gist_id}","starred_url":"https://api.github.com/users/alexeagle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexeagle/subscriptions","organizations_url":"https://api.github.com/users/alexeagle/orgs","repos_url":"https://api.github.com/users/alexeagle/repos","events_url":"https://api.github.com/users/alexeagle/events{/privacy}","received_events_url":"https://api.github.com/users/alexeagle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-11T20:17:23Z","updated_at":"2015-03-13T03:43:00Z","closed_at":"2015-03-13T03:43:00Z","body":"Currently, if I make a code change and re-run my test task, and there is a compile error, the tests still run, on the old code (if emitOnError:false) or on potentially incorrect code (if emitOnError:true)\r\n\r\nI would instead like the build to terminate after the compile task, and short-circuit any further execution.\r\n\r\nLooks like JSHint does this with a fail reporter. I imagine I could write a custom reporter to do this, but it feels like a basic capability which would be nice to have built in."}}