Hook#buildwithclaude
0
Build on change
Kaynak dosyalar değiştiğinde derleme işlemlerini otomatik olarak tetikleyin
yazan kuscubasiece·8 Eylül 2026
Kaynak: davepoon/claude-code-subagents-collection · MIT
Kaynak dosyalar değiştiğinde derleme işlemlerini otomatik olarak tetikleyin
Kaynak: davepoon/claude-code-subagents-collection · MIT
curl -sL https://www.antrophiclove.com/api/kaynak/build-on-change-buildwithclaude/rawBu içerik mevcut dosyaya elle harmanlanmalı: .claude/settings.json
Automatically trigger build processes when source files change
PostToolUseEditCLAUDE_TOOL_FILE_PATHCLAUDE_PROJECT_DIRfile_path=$(jq -r '.tool_input.file_path // empty')
if [[ "$file_path" =~ \.(ts|tsx|js|jsx)$ ]]; then
npm run build 2>/dev/null || true
elif [[ "$file_path" =~ \.(c|cpp|h|hpp)$ ]]; then
make 2>/dev/null || true
fi