Skip to content

Commit

Permalink
docs: fix typo in "Live reload with other tools" (#821)
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-win authored Jul 4, 2024
1 parent 475bb38 commit 26bf77f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ go run github.com/cosmtrek/air@v1.51.0 \
```

:::note
The `build.cmd` option is set to use the `true` command instead of executing the output of the `build.cmd` option, because the `templ generate --notify-proxy` command doesn't build anything, it just sends a reload event to the `templ` proxy server.
The `build.bin` option is set to use the `true` command instead of executing the output of the `build.cmd` option, because the `templ generate --notify-proxy` command doesn't build anything, it just sends a reload event to the `templ` proxy server.

`true` is a command that exits with a zero status code, so you might see `Process Exit with Code 0` printed to the console.
:::
Expand Down

0 comments on commit 26bf77f

Please sign in to comment.