react-email icon indicating copy to clipboard operation
react-email copied to clipboard

Live refresh not working for components

Open quentez opened this issue 10 months ago • 0 comments

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

  1. Create a _components subfolder.
  2. Create a header.tsx re-usable component.
  3. Use that component in an email template.
  4. 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

quentez avatar Apr 25 '24 20:04 quentez