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