air-verse / air

☁️ Live reload for Go apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Only build, do not run

sathishvj opened this issue · comments

Is there a way to only do a build and not run the code?

#bin = "./tmp/main"
#bin = ""

I tried commenting out the bin line, making it empty, and even removing it. But it still runs the program when build succeeds.

Try:

[build]
  bin = "/usr/bin/make"
  cmd = "/usr/bin/true"