Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simenandre/templ-watch-bug
Reproduction of templ issue
https://github.com/simenandre/templ-watch-bug
Last synced: 12 days ago
JSON representation
Reproduction of templ issue
- Host: GitHub
- URL: https://github.com/simenandre/templ-watch-bug
- Owner: simenandre
- Created: 2024-10-16T11:34:17.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-16T12:36:47.000Z (2 months ago)
- Last Synced: 2024-12-05T08:44:48.492Z (18 days ago)
- Language: Go
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# templ-watch-bug
Reproduction of templ issueThe issue happends with you change something while using `templ generate --watch`.
This repository has a simple example of the issue.## Steps to reproduce
1. Clone this repository
2. Run `task dev` to start the `templ generate --watch` (and go server)
3. Open the browser and go to `http://localhost:8080` (or `http://localhost:7331` for the proxyed version)
4. Uncomment `@aComponent` in `templates/landing.templ` and save the file
5. Reload the browser window and the component will be rendered wrong## Notes on the setup
I wired up a simple Taskfile to show the version of Taskfile, and how it all runs
in my environment.