diff --git a/scripts/lib/command.js b/scripts/lib/command.js index e1bb4bd..905211a 100644 --- a/scripts/lib/command.js +++ b/scripts/lib/command.js @@ -7,7 +7,7 @@ function runRaw(cmd, path) { cmd = 'cd ' + path + ' && ' + cmd; } console.log(colors.gray(cmd)); - var exec = shelljs.exec(cmd, {silent: true}); + var exec = shelljs.execSync(cmd, {silent: true}); console.log(colors.gray(exec.stdout || exec.stderr)); } diff --git a/service-definitions.js b/service-definitions.js index 15b735e..95769be 100644 --- a/service-definitions.js +++ b/service-definitions.js @@ -170,7 +170,8 @@ var services = { isRunning : 'docker ps | grep {service-id}', bootstrap : 'scripts/bootstrap.sh', exec : "./project-runner/run.sh dev run --rm app sh -c '{{COMMAND}}'", - image : ['project-runner/load-image.sh -d prod', 'project-runner/load-image.sh -d dev'] + image : ['project-runner/load-image.sh prod', 'project-runner/load-image.sh dev' + ] } };