andreypopp / andreypopp/typescript-loader

Throw error code when build fails

Open
#21 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
81
Forks
9
PR merge metrics
No merged PRs in 30d

Description

When using `typescript-loader` with webpack, failed compilations cause an exit code of `0` to be returned, even when the `--bail` flag is set on webpack (which is soon going to be switched to the default behavior: https://github.com/webpack/webpack/issues/708).

This breaks build tools like `make` and Docker, which use exit codes to determine whether a process encountered an error or not.

![screenshot - 04222015 - 10 28 26 am](https://cloud.githubusercontent.com/assets/376414/7276837/840b4dec-e8da-11e4-8362-c44f531d8cd9.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.