microscopic-river-74022
08/24/2023, 10:36 AMmicroscopic-river-74022
08/24/2023, 10:37 AMgarden deploy --sync
command. This command deploys your services with sync enabled, which means any changes you make that fall under one of the sync specs you've defined will be automatically synced between your local machine and the running service.
Here's how you can use it:
bash
garden deploy --sync myservice
In the command above, replace myservice
with the name of your service. If you want to deploy multiple services in sync mode, you can separate them with a comma:
bash
garden deploy --sync myservice,my-other-service
If you want to deploy all applicable services with sync enabled, you can use the following command:
bash
garden deploy --sync=*
Once your deploys are ready, any changes you make will be automatically synced. Once you quit/terminate the Garden command, the deploys and syncs will keep running in the background. To stop the syncs you can use the sync stop
command.
For more information, you can refer to the Garden documentation on code synchronization ().
----------------------
Note: you can ask me a follow up question by @ mentioning me again
:speech_balloon:
----------------------