Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document TEMPL_DEV_MODE #1094

Open
flunderpero opened this issue Mar 11, 2025 · 1 comment
Open

Document TEMPL_DEV_MODE #1094

flunderpero opened this issue Mar 11, 2025 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers

Comments

@flunderpero
Copy link

My setup is a bit unusual. I have templ generate --watch running on my dev machine but the app is running in a Docker container. I don't want to run templ generate --watch in the container to keep it as close to production as possible.

I was wondering why text changes were not picked up as "promised" by the documentation until I saw in the source code that TEMPL_DEV_MODE needs to be set to true.

Perhaps it's worth it to add it to the documentation.

@a-h
Copy link
Owner

a-h commented Mar 15, 2025

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 it.

@a-h a-h added documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers labels Mar 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants