Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

Monorepo issues with parallel builds of @rescript/core files

$
0
0

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/core which 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.


Viewing all articles
Browse latest Browse all 2592

Trending Articles