Skip to content

Commit c509e57

Browse files
amcaplanclaude
andcommitted
Fix nx cache invalidation for graphiql-console builds
Changes to graphiql-console files weren't triggering nx to rebuild because the build inputs were using the generic "production" named input instead of explicit file patterns. Changes: - Replaced "production" and "^production" named inputs with explicit file patterns matching the pattern used by other packages - Now tracks: src/**/* files, index.html, package.json, vite.config.ts, and tsconfig.json This ensures nx properly detects changes and rebuilds when needed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 582f967 commit c509e57

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/graphiql-console/project.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@
1313
}
1414
},
1515
"build": {
16-
"inputs": ["production", "^production", "{projectRoot}/index.html"],
16+
"inputs": [
17+
"{projectRoot}/src/**/*",
18+
"{projectRoot}/index.html",
19+
"{projectRoot}/package.json",
20+
"{projectRoot}/vite.config.ts",
21+
"{projectRoot}/tsconfig.json"
22+
],
1723
"outputs": ["{workspaceRoot}/packages/app/assets/graphiql"],
1824
"executor": "nx:run-commands",
1925
"options": {

0 commit comments

Comments
 (0)