andreypopp / andreypopp/typescript-loader

Throw error code when build fails

Aperta
#21 3 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
81
Fork
9
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.