fix: #3645 throttle startup

This commit is contained in:
Unitech 2018-05-10 19:10:47 +02:00
parent 55d25ffbe9
commit d529f675d0

View File

@ -320,7 +320,7 @@ module.exports = function(CLI) {
shelljs.exec(command, function(code, stdout, stderr) {
if (code === 0) {
Common.printOut(chalk.bold('[DONE] '));
return next();
return setTimeout(function() { next() }, 500);
} else {
Common.printOut(chalk.red('[ERROR] Exit code : ' + code))
return next(new Error(command + ' failed, see error above.'));