Skip to content

when doesn't use an interface file ,changes propagate to the parent js file with no content change #6303

Closed as not planned
@ArcherDs

Description

@ArcherDs

compiler version after this patch rescript-lang/syntax#655

[minimal, reproducible example] https://github.com/jihchi/vitejs-template-react-rescript (delete the App.resi file)

Main.res depends on App.res , edit App.res and Main.bs.js will also been write with no content change , result a full page reload , broken the fast refresh

if revert this commmit or add a interface file ( App.resi ) to the edit file , the problem gone

OS : wsl2

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleOld issues that went stale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions