MCPcopy
hub / github.com/cortesi/devd / HasLivereload

Method HasLivereload

server.go:208–213  ·  view source on GitHub ↗

HasLivereload tells us if livereload is enabled

()

Source from the content-addressed store, hash-verified

206
207// HasLivereload tells us if livereload is enabled
208func (dd *Devd) HasLivereload() bool {
209 if dd.Livereload || dd.LivereloadRoutes || len(dd.WatchPaths) > 0 {
210 return true
211 }
212 return false
213}
214
215// AddRoutes adds route specifications to the server
216func (dd *Devd) AddRoutes(specs []string, notfound []string) error {

Callers 2

RouterMethod · 0.95
ServeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected