From 77c090df3da826e08fd997ef083d41aee03af3df Mon Sep 17 00:00:00 2001 From: Joe Bellus Date: Wed, 29 Jul 2020 23:09:18 -0400 Subject: [PATCH] Updated start command block --- content/articles/config.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/content/articles/config.md b/content/articles/config.md index a033272..e0c3de4 100644 --- a/content/articles/config.md +++ b/content/articles/config.md @@ -36,9 +36,9 @@ Components are indvidual applications that are run as part of the stack. All, so COLORS: 1 NPM_ENV: debug start: - - command: npm - args: - - start + command: npm + args: + - start init: - command: npm args: @@ -54,7 +54,7 @@ component itself. * **color** - The component will use this color in the log output. Valid color values are: Yellow, Blue, Green, Red, and Purple. * **tags** - A comma seperated list of tags to identify the component. These can be used to execute groups of components using the --tags flag. * **start** - A command block that is executed when the component is ran -* **init** - A command block that is ran when the component is initialized +* **init** - A list of command blocks that are ran when the component is initialized * **repo** - The repository url for the component. When running init all components are cloned into subfolders if they have repositories specified and their init commands are ran. * **retry** - Specifies whether the command should be rerun if it exits. This is true by default. Setting this to false will cause the command to be executed. This does not apply to init commands. * **delay** - A delay in seconds to wait before executing this command. This is useful if it needs to wait for another component to spin up. @@ -76,9 +76,9 @@ components: tags: - core start: - - command: npm - args: - - start + command: npm + args: + - start init: - command: npm args: