Documentation
¶
Index ¶
- func RunGoWatcher(ctx context.Context, rebuildChan chan<- struct{}, verbose bool) error
- func RunTailwindWatcher(ctx context.Context, cssRebuilt chan<- struct{}, cfg TailwindConfig) error
- func RunTemplWatcher(ctx context.Context, templChange chan<- TemplChange, cfg TemplWatcherConfig) error
- type TailwindConfig
- type TemplChange
- type TemplWatcherConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunGoWatcher ¶
func RunTailwindWatcher ¶
func RunTailwindWatcher(ctx context.Context, cssRebuilt chan<- struct{}, cfg TailwindConfig) error
func RunTemplWatcher ¶
func RunTemplWatcher(ctx context.Context, templChange chan<- TemplChange, cfg TemplWatcherConfig) error
Types ¶
type TailwindConfig ¶
type TemplChange ¶
type TemplChange int8
const ( TemplChangeNone TemplChange = iota TemplChangeNeedsRestart // Full server restart needed (e.g., _templ.go changed) TemplChangeNeedsBrowserReload // Just browser reload needed (e.g., template content changed) )
type TemplWatcherConfig ¶
Click to show internal directories.
Click to hide internal directories.