andreypopp / andreypopp/typescript-loader

Throw error code when build fails

Đang mở
#21 3 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
81
Fork
9
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.