air
air copied to clipboard
Why must rebuild when changed?
Hi, how to set "go run main.go" to air. Why we must use "build & run"? when I has more function and file's project, the rebuild time will slow?
I did:
cmd = "true"
full_bin = "make run"
cmdkind of needs to succeed, so let's fake a build.- while
full_binrunsmake runwhich can be anything, for examplego run main.go
full_bin- Customize binary, can setup environment variables when run your app.
@michalb-goflink Cool bro! Very grateful to your work.
When night i will try to it, I hope it works for me.
The only downside I found is that full_bin command does not seem to be gracefully terminated. But that is no real issue in my code