File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed
Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 1+ [build ]
2+ cmd = " go build -o ./tmp/main cmd/backend.go"
3+ delay = 3000
Original file line number Diff line number Diff line change 1+ tmp
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ Contributions are welcome. Please note the [Code of Conduct](CODE_OF_CONDUCT.md)
44
55## Tool & Repository setup
66
7+ ### Recommendations
8+
79CI pipelines check all code changes when you open a PR. To not have to go back and fix all issues manually, the following setup is recommended.
810
911You will need the following tools:
@@ -23,6 +25,16 @@ go install github.com/fzipp/gocyclo/cmd/gocyclo@latest
2325pre-commit install --hook-type commit-msg --hook-type pre-commit
2426```
2527
28+ ### Hot reload
29+
30+ If you want to hot reload the server, using ` air ` is recommended. Get it with
31+
32+ ``` sh
33+ go install github.com/cosmtrek/air@latest
34+ ```
35+
36+ You can then run ` air ` in the repository root, which will build and rebuild the project every time the code changes.
37+
2638## Commit messages
2739
2840This project uses [ Conventional commits] ( https://www.conventionalcommits.org/en/v1.0.0-beta.4/ )
You can’t perform that action at this time.
0 commit comments