No, I am still using ReScript v11 and haven’t setup rewatch.
I fixed the issue by creating a prebuild step in the root package.json to run rescript in one of the packages. This compiles @rescript/core once and prevents the race condition with parallel build.
Built artifact:
-
root/foobar/node_modules/@rescript/corewhich is a symlink to root/node_modules/.pnpm/@rescript+core@1.6.1_rescript@11.1.4/@rescript/core
My CI build is green again.