air-verse / air

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

Selecting which binary to run with air #467

Open ribice opened 10 months ago

ribice commented 10 months ago

Given that I have multiple binaries in /cmd (let's call them service1, service2), what's the proper way to select which service I want to run?

Ideally I want to achieve something like:

air service1 -> runs service1 air service2 -> runs service2

lukmdo commented 7 months ago

How I understand the question/case is a use case for:

Would it make sense for you to use separate configs for each cmd/service ?

Then

links