Skip to content

Add rewatch as an alternative build system to eventually replace bsb #6760

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 · 4 comments
Open

Add rewatch as an alternative build system to eventually replace bsb #6760

cknitt opened this issue May 23, 2024 · 4 comments
Assignees
Milestone

Comments

@cknitt
Copy link
Member

cknitt commented May 23, 2024

  1. Add rewatch to compiler repo + CI + the rescript npm package (as an experimental alternative to bsb)
  2. Use rewatch to build the standard libraries (OCaml stdlib, Caml_*, Belt, Js)
  3. (Move Core into the compiler, move other stdlibs out of the compiler, ...)
  4. Remove bsb, do not ship any compiled stdlib artifacts with the ReScript npm package anymore (see Split rescript npm package into multiple subpackages #6183)
@cknitt cknitt added this to the v12 milestone Aug 25, 2024
@cknitt cknitt self-assigned this Aug 25, 2024
@nojaf
Copy link
Collaborator

nojaf commented Aug 26, 2024

Is it the plan to make rewatch available from the node_modules/.bin folder?
It is not yet the case with 12.0.0-alpha.1.

@cknitt
Copy link
Member Author

cknitt commented Aug 28, 2024

Yes, that would be the plan. Seems this was lost in a refactoring where the path to the rewatch wrapper script in package.json was not updated.

@nojaf
Copy link
Collaborator

nojaf commented Sep 6, 2024

This works for me in 12.0.0-alpha.2, thanks!

@cknitt
Copy link
Member Author

cknitt commented May 5, 2025

rewatch is now included in v12, bsb will be removed in a future version. Core is now included in the compiler repo as the new stdlib.

Other items still in progress.

@cknitt cknitt modified the milestones: v12, v12.1 May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants