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

Using turbo (turborepo) with ReScript and caching node_modules/**/*

$
0
0

We use pnpm + turborepo + rewatch in a repo with apps/ and packages/ directories.

Rewatch build gets ran at the root as part of "prepare" and we exclude *.res files from our inputs:

      "build": {
         "dependsOn": ["^build"],
         "outputs": ["dist/**"],
         "inputs": ["$TURBO_DEFAULT$", "!src/**/*.res"]
      },

This seems to work pretty okay for us, development is always pnpm dev:res and turbo start -F


Viewing all articles
Browse latest Browse all 1834

Trending Articles