react-email
react-email copied to clipboard
Live refresh not working for components
Describe the Bug
The watch system to live refresh the web UI when something changes works for the email templates themselves, but not the components they depend on, even when they're in a _components
subfolder.
Which package is affected (leave empty if unsure)
react-email
Link to the code that reproduces this issue
n/a
To Reproduce
- Create a
_components
subfolder. - Create a
header.tsx
re-usable component. - Use that component in an email template.
- Modify that component.
Expected Behavior
The web preview UI should automatically pick up the new changes. Instead, a manual refresh is needed.
What's your node version? (if relevant)
No response