Documentation ¶
Overview ¶
Package tychus is a command line application that will watch your files and on change, trigger a rerun of a command. It's designed to work best with web applications, but certainly not lmited to.
Unlike other application reloaders written in Go, Tychus is language agnostic. It can be used with Go, Rust, Python, Ruby, scripts, etc.
If enabled, Tychus will serve an application through a proxy. This can help mitigate annoyances like reloading your web page before the app server finishes booting. Or attempting to make a request after the server starts, but before it is ready to accept requests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Logger ¶
type Orchestrator ¶
type Orchestrator struct {
// contains filtered or unexported fields
}
func New ¶
func New(args []string, c *Configuration) *Orchestrator
func (*Orchestrator) Start ¶
func (o *Orchestrator) Start() error
func (*Orchestrator) Stop ¶
func (o *Orchestrator) Stop()
Stops Tychus and forces any processes started by it that may be running.