Fail on build error
This commit is contained in:
parent
304bf4fe29
commit
9e6ee4df52
@ -118,4 +118,7 @@ await Promise.all([
|
|||||||
]).catch(err => {
|
]).catch(err => {
|
||||||
console.error("Build failed");
|
console.error("Build failed");
|
||||||
console.error(err.message);
|
console.error(err.message);
|
||||||
|
// make ci fail
|
||||||
|
if (!watch)
|
||||||
|
process.exitCode = 1;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user