Pulse is a command-line utility designed for live-reloading Go applications, featuring intelligent file change detection and optimization for a seamless, fast development feedback loop.
go install github.com/panotza/pulse@main
in your root Go project run
pulse
or
pulse . # refer to current directory
pulse /path/to/your/project
Options
-x value Relative directories or files to exclude.
-go Reload only when .go files change.
-xp Disable the built-in preset.
-buildArgs value Additional Go build arguments.
-h Show help.
You can use --
to pass arguments to your program
pulse . -- -v abc foo bar
this is a built-in exclude list enabled by default (you can disable it using the -xp
flag)
.git
.idea
.yarn
.vscode
.github
node_modules