Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WatchFiles ¶
func WatchFiles(ctx context.Context, patterns []string, pm *ProcessManager) <-chan error
Types ¶
type ProcessManager ¶
type ProcessManager struct {
// contains filtered or unexported fields
}
ProcessManager manages the lifecycle of a child process which can be started, stopped, and restarted.
func NewProcessManager ¶
func NewProcessManager(cmd string, profile *cliconfig.Profile) *ProcessManager
func (*ProcessManager) KillProcess ¶
func (pm *ProcessManager) KillProcess()
func (*ProcessManager) StartProcess ¶
func (pm *ProcessManager) StartProcess(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.