air-verse / air

☁️ Live reload for Go apps
GNU General Public License v3.0
17.63k stars 802 forks source link

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

Closed jackywu closed 11 months ago

jackywu commented 1 year ago

thanks for great works, I only have a question and did not find anything useful in the manual,so ask question here: Question: how to do hot compile only and do not run anything?

makiuchi-d commented 1 year ago

Simpler tools, such as arelo, are more suitable.

go install github.com/makiuchi-d/arelo@latest
arelo -p '**/*.go' -i '**/.*' -- go build .
xiantang commented 11 months ago

https://github.com/cosmtrek/air/issues/365 dupl

xiantang commented 11 months ago

see: https://github.com/cosmtrek/air/commit/22545a2323280d8962e2c72ec9c727761a1e9fe1 already add in README.md