Right now we install air with go install and then assume it'll be runnable, but that's not true for people who don't yet have ~/go/bin in their PATH. Although almost all Go devs probably have this, it would be nice for this not to be a barrier to newbies.
Solution 1: change Taskfile.yml to install air into somewhere in PATH. For mac/linux that would be /usr/bin. The install instructions for air may suggest a platform-agnostic way.
Solution 2: check if $(go env GOPATH)/bin is in the current user's PATH, and if not, issue a warning
Right now we install air with
go installand then assume it'll be runnable, but that's not true for people who don't yet have~/go/binin their PATH. Although almost all Go devs probably have this, it would be nice for this not to be a barrier to newbies.Solution 1: change Taskfile.yml to install
airinto somewhere in PATH. For mac/linux that would be /usr/bin. The install instructions for air may suggest a platform-agnostic way.Solution 2: check if
$(go env GOPATH)/binis in the current user's PATH, and if not, issue a warning