From 9ffd83dd43413e7c239c780bf92dfba869c6dab6 Mon Sep 17 00:00:00 2001 From: Brandon Pereira Date: Tue, 10 Mar 2026 20:19:33 -0600 Subject: [PATCH] chore: enable nx caching on common-utils builds during dev (#1880) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary `yarn build:common-utils` was running slowly for me and had to restart server lots - this speeds up local dev start time when using `yarn dev` because it only rebuilds common utils if there are changes. ### Screenshots or video Cache (new): 
Screenshot 2026-03-10 at 4 08 13 PM No Cache (before/changes): Screenshot 2026-03-10 at 4 05 04 PM ### How to test locally or on Vercel 1. Run `yarn dev` see build required 2. Restart server, see its cached 3. Change `common-utils` restart server, see build required --- nx.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx.json b/nx.json index 48343419..dce58ff1 100644 --- a/nx.json +++ b/nx.json @@ -15,7 +15,7 @@ "default": { "runner": "nx/tasks-runners/default", "options": { - "cacheableOperations": ["build", "lint", "test"] + "cacheableOperations": ["build", "dev:build", "lint", "test"] } } },