corber icon indicating copy to clipboard operation
corber copied to clipboard

bash-build.js ignores errors generated by build command

Open kbrownlees opened this issue 5 years ago • 1 comments

Just had a case where my webpack build was failing, but it got ignored so it appeared that the build works fine until you load it onto a device. At which point the bundle does not exist and it hangs.

IMO bash-build should explode if the build command returns a non 0 exit code? Or at least it should be configurable from your framework definition.

kbrownlees avatar Dec 10 '19 22:12 kbrownlees

Thanks for the report - I've managed to replicate now. I agree it should blow up. Thanks!

alexblom avatar Jan 29 '20 17:01 alexblom