Skip to content

Commit d4c56ff

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

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
@@ -18,7 +18,7 @@ Now, if we make any changes to our golang application locally, it needs to refle
1818
docker compose up --build
1919
```
2020

21-
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.
21+
But, this is not the best approach. This is not efficient. Every time you make a change in the code, you need to rebuild manually. This is not is not very good flow for development.
2222

2323
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

0 commit comments

Comments
 (0)