We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daf0a48 commit 9ab15d4Copy full SHA for 9ab15d4
tools/run.js
@@ -511,6 +511,8 @@ exports.run = function (context, options) {
511
if (bundleResult.errors) {
512
logToClients({stdout: "=> Errors prevented startup:\n\n" +
513
bundleResult.errors.formatMessages()});
514
+ // Ensure that if we are running under --once, we exit with a non-0 code.
515
+ Status.code = 1;
516
Status.hardCrashed("has errors");
517
startWatching(watchSet);
518
return;
0 commit comments