go-procrotator

command module
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 11 Imported by: 0

README

go-procrotator

Restart a server process when certain files change.

Install:

go install github.com/jakewan/go-procrotator@v1

Add a configuration file named procrotator.toml or .procrotator.toml to the root directory of the target software project.

Here is an example configuration file for a typical Go server application. The hypothetical binary is named some-go-server.

include_file_regexes = ["\\.go$", "\\.tmpl$"]
preamble_commands = ["go build ."]
server_command = "./some-go-server"

Execute within the server application directory:

go-procrotator

Press CTRL+C to quit.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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