A cross platform hot compilation tool
By monitoring the modification of the project directory file, the recompilation and running are automatically triggered. Running directory and monitoring change directory can be different. Monitor the file modification in all recursive subdirectories under the project path.
go get -u github.com/wandercn/hotbuild@latest
wander$ cd $your_project_dir/
wander$ hotbuild initconf
2021/07/28 11:10:03 create config file: .hotbuild.toml
wander$ cd $your_project_dir/
wander$ hotbuild run
_ _ ___ _____ ____ _ _ ___ _ ____
| | | |/ _ \_ _| | __ )| | | |_ _| | | _ \
| |_| | | | || | | _ \| | | || || | | | | |
| _ | |_| || | | |_) | |_| || || |___| |_| |
|_| |_|\___/ |_| |____/ \___/|___|_____|____/ v1.0.5, built with Go 1.16.5
.............................. ( Start rebuilding ) .................................
.............................. [ Build successfully ] ...............................
.............................. { Start running } ....................................
2021/07/06 09:56:26.913 [I] [asm_amd64.s:1371] http server Running on https://0.0.0.0:8080
2021/07/06 09:56:26.913 [I] [asm_amd64.s:1371] Admin server Running on :8088