{"action":"opened","issue":{"url":"https://api.github.com/repos/TypeStrong/ts-loader/issues/108","labels_url":"https://api.github.com/repos/TypeStrong/ts-loader/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/TypeStrong/ts-loader/issues/108/comments","events_url":"https://api.github.com/repos/TypeStrong/ts-loader/issues/108/events","html_url":"https://github.com/TypeStrong/ts-loader/issues/108","id":117561819,"number":108,"title":"webpack exit code is equal to 0, if typescript build fails","user":{"login":"pepe79","id":369965,"avatar_url":"https://avatars.githubusercontent.com/u/369965?v=3","gravatar_id":"","url":"https://api.github.com/users/pepe79","html_url":"https://github.com/pepe79","followers_url":"https://api.github.com/users/pepe79/followers","following_url":"https://api.github.com/users/pepe79/following{/other_user}","gists_url":"https://api.github.com/users/pepe79/gists{/gist_id}","starred_url":"https://api.github.com/users/pepe79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pepe79/subscriptions","organizations_url":"https://api.github.com/users/pepe79/orgs","repos_url":"https://api.github.com/users/pepe79/repos","events_url":"https://api.github.com/users/pepe79/events{/privacy}","received_events_url":"https://api.github.com/users/pepe79/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-18T10:50:26Z","updated_at":"2015-11-18T10:50:26Z","closed_at":null,"body":"When the build fails (i.e. at least one typescript compile error occured), the ts-loader emits an incomplete javascript file and does not propagate the build failure to webpack. When using webpack with the --bail command line option an compile error, should result in an webpack exit code not equal to zero.  \r\n\r\nIs there another way or option to check if a compile error occured."}}