<p dir="auto">Right now if there is an error such as `Unexpected identifier`` it goes to STDOUT, it should go to STDERR and the process should exit with an error code so that CI , npm test, ... can detect something went wrong.</p>
<p dir="auto">Hi,</p>
<p dir="auto">I'd like to know when a build failed using the webpack client (because of a module not found for example). Right now, it seems that the client is outputting the error to the console but the status code of the webpack client process is 0 (success).</p>
<p dir="auto">Is it the normal behavior? I can imagine that when using the watch option we don't want the process to end on a build failure but without the option, could the client terminate with a status != 0?</p>
<p dir="auto">I'd like to avoid to search for "ERROR" inside the client output to determine that the build failed.</p>
<p dir="auto">Thanks.</p>