hotpot ♨️ let you eat hot tofu.
Watch file change and execute command.
hotpot could help you write web server or run test code.
- download the binary from github release
- build from source . Need go 1.18
- go install
go install githuh.com/KM911/hotpot@latest
Delay = 2000
Command = 'go build'
WatchFiles = ['go'] # only watch xx.go files change
IgnoreFolders = ['node_modules', 'vendor', '.git', '.idea', '.vscode', 'log', 'build', 'dist', 'bin', 'public', 'target', 'output']
ShowEvent = false
Github = 'https://github.com/KM911/hotpot'
This project uses the following projects, for which I am grateful. Without their open source contributions, this project would not have been possible.
GitHub - fsnotify/fsnotify: Cross-platform file system notifications for Go.
GitHub - pelletier/go-toml: Go library for the TOML file format