Versions in this module Expand all Collapse all v0 v0.6.0 Sep 15, 2026 v0.5.1 Sep 14, 2026 v0.5.0 Sep 14, 2026 Changes in this version + const Debounce + const EnvDevelopment + const HealthPath + const ReloadPath + const RequestWait + const StartTimeout + var TemplCommand = []string + func Client() []byte + func Group(cmd *exec.Cmd) + func HasTempl(dir string) bool + func KillGroup(cmd *exec.Cmd) + type Config struct + AssetBase string + AssetDir string + BuildCSS func(ctx context.Context) (string, error) + BuildGo func(ctx context.Context) error + BuildScript func(ctx context.Context) error + ChildPort int + Dir string + Env string + FrontEnd []string + FrontEndDir string + Out io.Writer + Port int + Start func(ctx context.Context, port int) (Process, error) + type ExitAware interface + Exited func() <-chan error + type Process interface + Stop func() error + func StartTempl(ctx context.Context, dir string, out interface{ ... }) (Process, error) + type Server struct + func New(cfg Config) (*Server, error) + func (s *Server) Addr() string + func (s *Server) Changed(ctx context.Context, files []string) error + func (s *Server) Clients() int + func (s *Server) Handler() http.Handler + func (s *Server) Run(ctx context.Context) error + func (s *Server) Sweep(since time.Time) []string + func (s *Server) Watch(ctx context.Context) ([]string, error)