Versions in this module Expand all Collapse all v0 v0.1.23 Feb 17, 2025 Changes in this version + func NewPrefixer(out io.Writer, prefix string) io.Writer + type Process struct + func NewProcess(t Task, padding int) *Process + func (p *Process) Done() bool + func (p *Process) Kill() + func (p *Process) Start() + func (p *Process) Stop() + func (p *Process) Wait() bool + type ProcessRunner interface + Done func() bool + Kill func() + Start func() + Stop func() + Wait func() bool + type ProcessState int + const ProcessStateExited + const ProcessStateIdle + const ProcessStateKilling + const ProcessStateRestarting + const ProcessStateRunning + const ProcessStateStarting + const ProcessStateStopping + type ProcessWatcher struct + func NewProcessWatcher(t Task, padding int) *ProcessWatcher + func (w *ProcessWatcher) Done() bool + func (w *ProcessWatcher) Kill() + func (w *ProcessWatcher) Start() + func (w *ProcessWatcher) Stop() + func (w *ProcessWatcher) Wait() bool + type Runner struct + func NewRunner(tasks []Task) *Runner + func (r *Runner) Run(ctx context.Context) error + func (r *Runner) Stop() + type Task struct + Command string + Name string + OneShot bool + WatchFiles []string + func Parse(r io.Reader) ([]Task, error) + type Watcher struct + func Watch(patterns []string) *Watcher + func (w *Watcher) Changed() bool