Skip to content

Commit

Permalink
Fix multiple reloads when templ generates files
Browse files Browse the repository at this point in the history
  • Loading branch information
Piszmog committed Feb 9, 2024
1 parent 277d6d5 commit b0ff64b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .air.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tmp_dir = "tmp"
cmd = "go build -o ./tmp/main ."
delay = 1000
exclude_dir = ["dist/assets", "tmp", "vendor", "testdata"]
exclude_file = []
exclude_file = ["components/**/*.go"]
exclude_regex = ["_test.go"]
exclude_unchanged = true
follow_symlink = false
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Sometimes, you may run into the issue _address already in use_. If this is the c
can run this command to find the PID to kill it.

```shell
ps aux | grep go
ps aux | grep tmp/main
```

### Makefile
Expand Down

0 comments on commit b0ff64b

Please sign in to comment.