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

bug: Text files aren't removed after templ generate -watch is closed #664

Closed
rokf opened this issue Apr 3, 2024 · 1 comment
Closed
Labels
bug Something isn't working cmd NeedsInvestigation Issue needs some investigation before being fixed

Comments

@rokf
Copy link

rokf commented Apr 3, 2024

Hi,

When I exit the watch code generation mode with Ctrl+C the *_templ.txt files aren't removed 👇

templ generate -watch

If I do templ generate the *_templ.txt files get removed.

Is this a bug or are we supposed to remove them by hand / using templ generate?

Thanks!

Version: v0.2.648
Go version: go1.22.1 darwin/arm64

@joerdav joerdav changed the title Text files aren't removed after templ generate -watch is closed bug: Text files aren't removed after templ generate -watch is closed Apr 4, 2024
@joerdav joerdav added bug Something isn't working cmd NeedsInvestigation Issue needs some investigation before being fixed labels Apr 4, 2024
@a-h a-h closed this as completed in ac07d85 Apr 4, 2024
@a-h
Copy link
Owner

a-h commented Apr 4, 2024

Thanks, you're right!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cmd NeedsInvestigation Issue needs some investigation before being fixed
Projects
None yet
Development

No branches or pull requests

3 participants