mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
chore: enable nx caching on common-utils builds during dev (#1880)
## 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): <img width="936" height="260" alt=" Screenshot 2026-03-10 at 4 08 13 PM" src="https://github.com/user-attachments/assets/d7ede0cf-19ec-4c82-943e-7612476b8c2b" /> No Cache (before/changes): <img width="1003" height="171" alt="Screenshot 2026-03-10 at 4 05 04 PM" src="https://github.com/user-attachments/assets/cca32b6f-1981-4c3a-8e2f-3d2d98ce5f06" /> ### 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
This commit is contained in:
parent
5f105bb1b5
commit
9ffd83dd43
1 changed files with 1 additions and 1 deletions
2
nx.json
2
nx.json
|
|
@ -15,7 +15,7 @@
|
||||||
"default": {
|
"default": {
|
||||||
"runner": "nx/tasks-runners/default",
|
"runner": "nx/tasks-runners/default",
|
||||||
"options": {
|
"options": {
|
||||||
"cacheableOperations": ["build", "lint", "test"]
|
"cacheableOperations": ["build", "dev:build", "lint", "test"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue