mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-06 20:22:14 +00:00
chore: automate git worktree setup (shared node_modules, per-worktree dev port)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"worktree": {
|
||||
"baseRef": "fresh",
|
||||
"symlinkDirectories": ["node_modules"]
|
||||
},
|
||||
"hooks": {
|
||||
"PostToolUse": [
|
||||
{
|
||||
"matcher": "EnterWorktree",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "\"$CLAUDE_PROJECT_DIR/scripts/assign-worktree-port.sh\""
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user