Skip to content

Commit

Permalink
chore: Fix misspellings
Browse files Browse the repository at this point in the history
  • Loading branch information
romshark committed Jan 13, 2025
1 parent caa1806 commit c034b89
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions example-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ log:

debounce:
# debounce.templ defines how long to wait for more _templ.txt file changes
# after the first one occured before triggering all browser tabs to reload.
# after the first one occurred before triggering all browser tabs to reload.
templ: 50ms

# debounce.go defines how long to wait for more non-templ file changes
# after the first one occured before triggering server rebuild and restart.
# after the first one occurred before triggering server rebuild and restart.
go: 50ms

# tls can be set to null to serve HTTP instead of HTTPS.
Expand Down Expand Up @@ -144,7 +144,7 @@ custom-watchers:
fail-on-error: true

# debounce specifies how long to wait for more file changes
# after the first one occured before executing cmd.
# after the first one occurred before executing cmd.
# Default debounce duration is applied if left empty.
debounce:

Expand Down
2 changes: 1 addition & 1 deletion internal/debounce/debounce_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func TestDebounce(t *testing.T) {
// No need to wg.Done since this will be overwritten by the second trigger
counter.Add(1)
})
trigger(func() { // This canceles the first trigger
trigger(func() { // This cancels the first trigger
defer wg.Done()
counter.Add(1)
})
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ func main() {
if err := errgrp.Wait(); err != nil {
log.Debugf("sub-process failure: %v", err)
}
cancel() // Ask all sub-processes to exit gracefuly.
cancel() // Ask all sub-processes to exit gracefully.
log.Debugf("waiting for remaining sub-processes to shut down")
wg.Wait() // Wait for all sub-processes to exit.
}
Expand Down

0 comments on commit c034b89

Please sign in to comment.