Hot Reload not working for emails more than one level deep in the folder #2242
Labels
Package: react-email
This is the CLI we generally use as just `email` on the temrinal.
Type: Bug
Confirmed bug
Describe the Bug
Like stated in the title (and also by this comment on 1872: #1872 (comment))
email dev
's hot reload/watch feature seems to not work for files/components placed more than one level deep in the root email folder.Which package is affected (leave empty if unsure)
No response
Link to the code that reproduces this issue
https://github.com/francescosalvi/react-email-dev-reload-depth-issue
To Reproduce
yarn dev
Depth0.tsx
: process stdout showsSuccessfully rendered Depth0.tsx
, in browser the component is refreshedDepth1.tsx
: process stdout showsSuccessfully rendered Depth1.tsx
, in browser the component is refreshedDepth2.tsx
: process stdout shows nothing, in browser the component is not refreshedExpected Behavior
Changing components at any nesting level should still trigger their reload
What's your node version? (if relevant)
No response
The text was updated successfully, but these errors were encountered: