macOS
brew install wgolocal Homebrew formula metadata
安装
brew install wgolocal Homebrew formula metadata
nix profile install nixpkgs#wgonixpkgs package indexes · pkgs/by-name/wg/wgo/package.nix · 来源: api.github.com
概览
Watch arbitrary files and respond with arbitrary commands
历史
wgo, expanded in the README as watcher-go, is a Go-focused live-reload and general file-watcher command. Its upstream description is direct: watch arbitrary files and respond with arbitrary commands, including multiple commands in parallel.
The GitHub repository was created in January 2023 and presents wgo as a response to file watchers that force commands into strings, require configuration files, or produce noisy output. The README emphasizes that the implementation is intentionally short and that core documentation starts with the quickstart.
Release metadata shows continued development through the 0.5 series in 2024-2025 and 0.6.x releases in 2025-2026. That history is young compared with older Unix tools, but the project has settled into a recognizable niche among Go developers who want a small live-reload wrapper.
wgo's adoption signal is mainly GitHub- and Go-community based rather than institutional. It is packaged for Homebrew and Nix, but its source-backed identity comes from the repository, release stream, and README positioning rather than from long distribution history.
The most common use is to prefix a command with wgo so that it reruns when files change, for example rebuilding C code, running Go code, or restarting a Go server. The special wgo run mode behaves like go run but reruns when Go files change, and flags allow users to include or exclude files and directories, debounce events, poll, chain commands, and run watchers in parallel.
Because it is not limited to Go commands, wgo also fits frontend-adjacent workflows in Go projects, such as rebuilding Sass or TypeScript alongside a Go server by chaining parallel wgo commands.
wgo is significant in the small-tool sense: it keeps live reload out of a project-specific config file and makes it a command-line behavior. For package users, that means one executable can sit beside go, make, gcc, sass, or tsc and provide a simple watch loop without adopting a larger task runner.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
wgo | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/bokwoon95/wgo
安装元数据
| 软件包键 | brew:wgo |
|---|---|
| 版本 | 0.6.4 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/wgo |
| 主页 | https://github.com/bokwoon95/wgo |
| 仓库 | https://github.com/bokwoon95/wgo |
| 上游文档 | https://github.com/bokwoon95/wgo#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/bokwoon95/wgo/archive/refs/tags/v0.6.4.tar.gz |
| 最后更新 | 2026-05-06T18:56:37Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | wgo |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
wgo
nix profile install nixpkgs#wgo来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.