Skip to content

Commit f5ad916

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

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
@@ -16,7 +16,7 @@ Now, if you make any changes to your Golang application locally, it needs to ref
1616
docker compose up --build
1717
```
1818

19-
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.
19+
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 a good flow for development.
2020

2121
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:
2222

0 commit comments

Comments
 (0)