Skip to content

Commit c75e00d

Browse files
Update content/guides/go-prometheus-monitoring/develop.md
Co-authored-by: Craig Osterhout <[email protected]>
1 parent d2e488c commit c75e00d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/guides/go-prometheus-monitoring/develop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ docker compose up --build
2020

2121
But, this is not the best approach. This is not efficient. Every time we make a change in the code, we need to rebuild manually. This is not is not very good flow for development.
2222

23-
The better approach is to use Docker Compose Watch. In the `compose.yml` file, under the service `api`, we have added the `develop` section. So, it's more like a hot reloading. Whenever we make changes to code (defined in `path`), it will rebuild the image (or restart depending on the action). This is how you can use it:
23+
The better approach is to use Docker Compose Watch. In the `compose.yml` file, under the service `api`, you have added the `develop` section. So, it's more like a hot reloading. Whenever you make changes to code (defined in `path`), it will rebuild the image (or restart depending on the action). This is how you can use it:
2424

2525
```yaml {hl_lines="17-20",linenos=true}
2626
services:

0 commit comments

Comments
 (0)