hotpot

command module
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 6 Imported by: 0

README

hotpot ♨️ let you eat hot tofu.

Watch file change and execute command.

中文文档

Demo

Restart Web Server

hotpot could help

1701236594410

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL