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

fix(watcher): Fix watcher for subfolders like `emails/components`

Open bastiaanv opened this issue 2 years ago • 0 comments

In the current version (1.7.2), if you were to change a file in (for example) emails/components the watcher would not copy that file to the correct location. This pr fixes this behaviour, see pictures below:

Before changing header.tsx: Screenshot 2023-01-26 at 09 27 13

After changing header.tsx (old flow): Screenshot 2023-01-26 at 09 28 03

After changing header.tsx (new flow): Screenshot 2023-01-26 at 09 27 13

bastiaanv avatar Jan 26 '23 08:01 bastiaanv