goir
zero configs live reload program for go projects
install
go install github.com/gokul1630/goir@latest
Setup your .bashrc or .zshrc on your Linux/macOS
export PATH="$(go env GOPATH)/bin:$PATH"
If you're running on Windows add the go/bin path to your PATH variable in Environment variables
Config for customization
Note: Config is optional only. You can run goir without any config. If you want to customize, below are the available options. also you can give optional run args by goir <your args>.
{
"output": "main",
"buildArgs": [""],
"runArgs": [""],
"excludedPaths": ["tmp"],
"tmp_dir": "tmp"
}
TODO
- kill child processes
- refactor code
- more customization
Thanks to