Skip to content

Commit

Permalink
add document for : Question: how to do hot compile only and do not ru…
Browse files Browse the repository at this point in the history
…n anything?
  • Loading branch information
xiantang committed Oct 23, 2023
1 parent 278965f commit 22545a2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,15 @@ export PATH=$PATH:$(go env GOPATH)/bin <---- Confirm this line in you profile!!!

Should use `\` to escape the `' in the bin. related issue: [#305](https://github.com/cosmtrek/air/issues/305)

### Question: how to do hot compile only and do not run anything?

[#365](https://github.com/cosmtrek/air/issues/365)

```toml
[build]
cmd = "/usr/bin/true"
```

## Development

Please note that it requires Go 1.16+ since I use `go mod` to manage dependencies.
Expand Down

0 comments on commit 22545a2

Please sign in to comment.