This commit is contained in:
Francisco Hodge
2019-08-17 17:16:58 -04:00
parent d186fb1e09
commit ba9c9a6a4e
12 changed files with 19 additions and 589 deletions
+1 -1
View File
@@ -106,8 +106,8 @@ checkBrowsers(paths.appPath, isInteractive)
);
},
err => {
console.error('Failed to compile');
printBuildError(err);
throw new Error('Failed to compile');
process.exit(1);
}
)
+1 -1
View File
@@ -106,8 +106,8 @@ checkBrowsers(paths.appPath, isInteractive)
);
},
err => {
console.error('Failed to compile');
printBuildError(err);
throw new Error('Failed to compile');
process.exit(1);
}
)
+2
View File
@@ -139,6 +139,8 @@ checkBrowsers(paths.appPath, isInteractive)
stats = stats.toJson();
if (stats.errors && stats.errors.length > 0) {
devServer.close();
process.exit(1);
return;
}