Skip to content

Commit 5e816b0

Browse files
committed
chore: switch SessionStart hook to async mode
Run pnpm install + build in background so sessions start faster. Timeout set to 5 minutes. https://claude.ai/code/session_0153jtsmYXCuyedMWwv88aWP
1 parent bdbf90e commit 5e816b0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.claude/hooks/session-start.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ if [ "${CLAUDE_CODE_REMOTE:-}" != "true" ]; then
66
exit 0
77
fi
88

9+
# Run asynchronously (in background while session starts)
10+
echo '{"async": true, "asyncTimeout": 300000}'
11+
912
cd "$CLAUDE_PROJECT_DIR"
1013

1114
# Install all workspace dependencies

0 commit comments

Comments
 (0)