Handling for error during build.

This commit is contained in:
Eric Mastro 2018-04-15 18:50:56 +10:00 committed by emizzle
parent 8fc978eb50
commit 8bdf79b19a

View File

@ -186,7 +186,7 @@ class Embark {
engine.logger.info("finished building".underline); engine.logger.info("finished building".underline);
} }
// needed due to child processes // needed due to child processes
if(!continueProcessing){ if(err || !continueProcessing){
process.exit(); process.exit();
} }
}); });