Adrian Hesketh
Adrian Hesketh
Good point! I didn't expect that as a use case. Happy to take a PR on that! I'll label this one up as a docs improvement for anyone that fancies...
Not sure when we did it, but docs at https://templ.guide/developer-tools/live-reload/#templ-watches-files-for-changes now include information about TEMPL_DEV_MODE.
Closed: no further info provided.
It works OK for me. Can't really help without knowing what the logs say. ``` 0 0 /Users/adrian % nix run github:a-h/templ usage: templ [...] templ - build HTML UIs...
Architecture, version of Nix, operating system...?
Just as an extra data point, it's working OK for me on x86-64 Ubuntu with Nix installed. My previous example was running the flake on aarch-64 Darwin (M1 Mac). ```...
Closed, since no further information was provided, and we've been unable to reproduce the issue on Linux machines, and both ARM64 and x64 Macs.
This strikes me as a `map` function in Go, so you could implement it as a function like this: ```go func Chain(components ...templ.Component) templ.Component { return templ.ComponentFunc(func(ctx context.Context, w io.Writer)...
@joerdav basically proposed the same API I did, but for a different situation in https://github.com/a-h/templ/issues/786#issuecomment-2298507263 Maybe we should do something here?