Skip to content

Rewatch: detect changes to config and compiler version #7436

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cknitt opened this issue May 23, 2024 · 1 comment
Open

Rewatch: detect changes to config and compiler version #7436

cknitt opened this issue May 23, 2024 · 1 comment
Assignees
Milestone

Comments

@cknitt
Copy link
Member

cknitt commented May 23, 2024

In case the rescript.json or the compiler version changes, rewatch should automatically clean before doing a build.

(Also, if the project was compiled with bsb before, do a clean before the build.)

@cknitt
Copy link
Member Author

cknitt commented May 6, 2025

Like bsb does currently:

Different compiler version: clean current repo
Cleaning... 5 files.
Cleaning... 241 files.
Cleaning... 75 files.
Cleaning... 80 files.
...

@cknitt cknitt transferred this issue from rescript-lang/rewatch May 6, 2025
@cknitt cknitt changed the title Detect changes to config and compiler version Rewatch: detect changes to config and compiler version May 6, 2025
@cknitt cknitt added this to the v12 milestone May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants