This commit is contained in:
2018-09-30 12:48:39 -04:00
parent 41629394b7
commit 14a9ae7c33
+7
View File
@@ -182,7 +182,14 @@ def watch(fork=True, buildpacks=False, apps=False, logger=None):
if fork:
subprocesses = []
cmd = f"bruce-operator fetch-buildpacks"
logger.info(f"Running $ {cmd} in the background.")
c = delegator.run(cmd, block=False)
subprocesses.append(c)
for t in ("apps", "buildpacks"):
logger.info(f"Fetching buildpacks in the background.")
cmd = f"bruce-operator watch --{t}"
logger.info(f"Running $ {cmd} in the background.")
c = delegator.run(cmd, block=False)