I migrated one of our company projects to ReScript 13.0.0-alpha.4 for testing and noticed that Vite fast refresh was broken.
I.e., when I save a single module containing a single React component export, not only is the output file for that module touched, but also the mtime for other output files for modules global to my app (Startup.res.mjs) changes, leading to Vite performing a full reload.
I migrated one of our company projects to ReScript 13.0.0-alpha.4 for testing and noticed that Vite fast refresh was broken.
I.e., when I save a single module containing a single React component export, not only is the output file for that module touched, but also the mtime for other output files for modules global to my app (
Startup.res.mjs) changes, leading to Vite performing a full reload.