Skip to content

rescript 13.0.0-alpha.4: unnecessary output files touched, breaking Vite fast refresh #8412

@cknitt

Description

@cknitt

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions