Hot reload not working for email templates in subfolders #2336
Unanswered
jxh0414com
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm experiencing issues with hot reload functionality when organizing my .tsx email templates in nested subfolders. Hot reload works fine when templates are in the root emails directory, but breaks when I organize them into subdirectories like:
src/Collections/emails/example.tsx
src/emails/user/example.tsx
The templates still render correctly, but any changes I make don't trigger hot reload, requiring manual refreshes to see updates. Does React Email support nested folder structures for email templates? If so, is there a specific configuration or file naming convention needed to maintain hot reload functionality in subfolders?
Beta Was this translation helpful? Give feedback.
All reactions