← 返回命令列表

Linux command

gow 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Run with auto-reload

gow run [.]

Run specific file

gow run [main.go]

Run tests with watching

gow test [./...]

Build with watching

gow build

说明

gow is a file watcher that wraps Go commands and re-runs them when source files change. It supports go run, test, build, and other commands, watching .go files and triggering re-execution on changes. The tool provides a minimal approach to automatic rebuilding during Go development without complex configuration.

参数

--help
Display help information.

FAQ

What is the gow command used for?

gow is a file watcher that wraps Go commands and re-runs them when source files change. It supports go run, test, build, and other commands, watching .go files and triggering re-execution on changes. The tool provides a minimal approach to automatic rebuilding during Go development without complex configuration.

How do I run a basic gow example?

Run `gow run [.]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --help do in gow?

Display help information.