air-verse / air

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

Add skip_run so build only works on windows #494

Open joeyak opened 8 months ago

joeyak commented 8 months ago

Since there is no /usr/bin/true for windows or an executable close to it I added a flag to skip the run step. I originally followed https://github.com/cosmtrek/air/issues/365 by creating an empty go program, but then realized I would have to add true.exe to my repo.