polyrun

command module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: GPL-3.0 Imports: 13 Imported by: 0

README

polyrun

Watches source files and restarts the program when they change.

go install github.com/paveezheng/polyrun@latest
polyrun ./cmd/your-tool

By default this runs go run with the arguments you pass, and restarts it when a .go file under the current directory changes. Ctrl-C stops polyrun.

Variable Default Purpose
GORUN_LANG go go, python, or python3
GORUN_SCAN_DIR . Directory to watch
GORUN_SKIP_DIRS .git, .venv Extra paths to skip, separated by :
GORUN_ALL_FILES unset Set to 1 to watch every non-hidden file

GPL-3.0. See LICENSE.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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