Currently netlify supports monorepos by not rebuilding apps if base directory of that app hasn’t changed. But deploy previews builds an app every time new PR is made regardless of contents of base directory of that app has changed or not.
Let me describe our use case: we have monorepo with server, admin, kitchen, and pos subfolders. Admin, kitchen, and pos apps wired to 3 separate netlify apps for CD and Deploy Previews. Now when developers create a PR with only server related changes, all 3 apps generated Deploy Previews for that PR. (Also sometimes they builds it again on commits to that PR ignoring previous builds).
Would be great if we could achieve following:
- Don’t build any Deploy Previews if PR changes only the contents of
- If new PR made with changes to
adminfolder, generate Deploy Previews only for
Otherwise we’re enjoying it so far .