Skip to content

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hotpot ♨️ let you eat hot tofu.

Watch file change and execute command.

中文文档

Demo

Restart Web Server

hotpot could help you write web server or run test code.

demo

Install

  1. download the binary from github release
  2. build from source . Need go 1.18
  3. go install
go install githuh.com/KM911/hotpot@latest

Configuration

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'

Acknowledgments

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

About

hotpot ♨️ let you eat hot tofu.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages