- 新增 watch/watch 子包,提供 watch 命令,支持 go install 安装 - 支持 -type/-exclude-type/-exclude-path 等 watch.Start 全部配置能力 - 预设 -go/-web/-js/-py 对应各开发场景一键运行 - 预设值与显式参数合并,不替换 - 无命令时打印变更事件到 stdout - 内部 300ms 防抖 + shell.Start 进程管理 Co-Authored-By: glm-5.1 <zai-org@claude-code-best.win>
27 lines
566 B
Modula-2
27 lines
566 B
Modula-2
module apigo.cc/go/watch
|
|
|
|
go 1.25.0
|
|
|
|
require (
|
|
apigo.cc/go/file v1.5.5
|
|
apigo.cc/go/timer v1.5.0
|
|
github.com/fsnotify/fsnotify v1.10.1
|
|
github.com/gobwas/glob v0.2.3
|
|
)
|
|
|
|
require (
|
|
apigo.cc/go/jsmod v1.5.3 // indirect
|
|
apigo.cc/go/shell v1.5.4
|
|
)
|
|
|
|
require (
|
|
apigo.cc/go/cast v1.5.3 // indirect
|
|
apigo.cc/go/encoding v1.5.4 // indirect
|
|
apigo.cc/go/rand v1.5.3 // indirect
|
|
apigo.cc/go/safe v1.5.2 // indirect
|
|
github.com/kr/text v0.2.0 // indirect
|
|
golang.org/x/crypto v0.52.0 // indirect
|
|
golang.org/x/sys v0.45.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|