MCPcopy Index your code
hub / github.com/DarthSim/overmind / StartObserving

Method StartObserving

start/process.go:70–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68}
69
70func (p *process) StartObserving() {
71 if !p.Running() {
72 p.waitPid()
73
74 p.output.WriteBoldLinef(p, "Started with pid %v...", p.pid)
75
76 go p.scanOuput()
77 go p.observe()
78 }
79
80 p.Wait()
81}
82
83func (p *process) Wait() {
84 ticker := time.NewTicker(runningCheckInterval)

Callers 1

runProcessesMethod · 0.80

Calls 6

RunningMethod · 0.95
waitPidMethod · 0.95
scanOuputMethod · 0.95
observeMethod · 0.95
WaitMethod · 0.95
WriteBoldLinefMethod · 0.80

Tested by

no test coverage detected