Melkeydev / go-blueprint

Go-blueprint allows users to spin up a quick Go project using a popular framework
https://docs.go-blueprint.dev/
MIT License
5.98k stars 337 forks source link

Feature: air toml file for air hot reload #35

Closed SudoSurya closed 1 year ago

SudoSurya commented 1 year ago

Resolving Issue #34

SudoSurya commented 1 year ago

iam injecting .air.toml file directly instead doing air init because default toml file looking for entry point at root but our project root file is under cmd folder so iam injecting .air.toml so we can directly run Make run command from Makefile inside .air.toml

and i made make watch command in makefile to run air or we can use air directly either way both are working

SudoSurya commented 1 year ago

so i have small doubt if user doesn't have air installed globally it doesn't work if we run air command right? image

can we install air package like this instead if user does not have air globally ?