templrun

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunWatch

func RunWatch(ctx context.Context, workDir string, st *state.Tracker) error

RunWatch starts `templ generate --log-level debug --watch` and reads its stdout pipe for failure and success logs updating the state accordingly. When ctx is canceled the interrupt signal is sent to the watch process and graceful shutdown is awaited.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL