Adrian Hesketh
Adrian Hesketh
According to this stackoverflow question, you may need to add a specific attribute to redirect via a HTMX post. https://stackoverflow.com/questions/70618200/how-to-implement-a-redirect-with-htmx I would probably use a standard redirect instead, since logout...
I think the goal of a formatter is to be consistent, but by retaining whitespace, you end up with oddities. ```html templ Form() { + Create Title Title Create }...
I think that what we need here is a decent integration test for the watch feature. The test needs to: * Create a temp directory and initialise a new templ...
I added a test to the project that completes the assertions above in https://github.com/a-h/templ/pull/441 Those changes have hit the main branch today. On the main issue, the `--watch` behaviour has...
Fix released in https://github.com/a-h/templ/releases/tag/v0.2.543 - upgrade with `go install github.com/a-h/templ/cmd/[email protected]`
I've completely rewritten the watch feature since the release you're using, but I haven't released it yet. If you could test by building the latest commit of the main branch...
It's not really the forum, no. This is a closed issue, and your issue isn't related, but... 😁 it's expected. If you run `templ generate --watch` it generates developer mode...
I'd be up for using the wgo implementation of the hot reload as a package and dropping my implementation if that's an option for the future. It looks relatively simple,...
By the way, I'm also totally allergic to needing config files @bokwoon95 - I love that about wgo. I'm trying to keep templ config free too. 😁
The version released today includes the new `--watch` mode that makes it so that for HTML changes, you don't need to recompile/restart your app.