Main
Search
⌃K
Links

Live Mode

When you run Garden Core in watch mode, e.g. by running garden dev or garden deploy --watch, it'll automatically connect to Garden Cloud and start "live mode".
In this mode, you can view events, results, and runtime logs from your stack in real time and interact with the CLI—all from your browser.
Starting live mode

Command Palette

With the command palette you can run any Garden command directly from the browser when the Garden CLI is running in watch mode.
You can open the command palette by pressing ⌘+p if you're on macOS or ctrl+p if you're on Windows from anywhere in the app.
You can also open it directly from the Commands page.
Opening the command palette
When using the command palette you don't need to memorize the name of all the tasks and tests or dig through your config. Simply open it up to get a list of all the actions available to you.
You can search both by the action kind, e.g. test, or by the name of the action e.g. db-.
Garden Core responds immediately to the request so there's no need to switch to your terminal and wait for a new Garden command to start up.
You can also type in options such as --force directly into the input or select them from the options dropdown.
Command palette options

Live Log Streaming (Stack Streams)

Stack Streams allows you to stream events, build and service logs, and test/task results in real time when the Garden CLI is running in watch mode.
You can open it by pressing ⌘+s if you're on macOS or ctrl+s if you're on Windows from anywhere in the app.
You can also open it directly from the Commands page.
Using Stack Streams
In the gif above, we use the command palette to run an end-to-end test while Stack Streams is open and then can observe how the test triggers events across this distributed system.
With Stack Streams you can stream:
  • Garden events,
  • build logs,
  • service logs,
  • task results,
  • and test results...
...for all your actions.
Select Sources
You can stream all your logs in a single pane like in the screenshot above or open multiple log panes side-by-side. In a given pane you can stream logs from any number of sources.
Aligning log panes side-by-side can be useful to observe how information flows through your system.
In the screenshot below you can e.g. see the output from an end-to-end test in the left most pane and the services affected next to it.
Stack Streams modal