Created
July 11, 2026 20:38
-
-
Save craigmdennis/ae02cdc2c9748cf50bb54a2459ac8200 to your computer and use it in GitHub Desktop.
Warp dual pane worktree creation with automatic npm install and Claude Code invocation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name = "Worktree: craigmdennis.com" | |
| [[panes]] | |
| id = "root" | |
| split = "horizontal" | |
| children = ["main", "install"] | |
| [[panes]] | |
| commands = [ | |
| "git worktree add -b {{autogenerated_branch_name}} /Users/craigmdennis/.warp/worktrees/craigmdennis.com/{{autogenerated_branch_name}}", | |
| "cd /Users/craigmdennis/.warp/worktrees/craigmdennis.com/{{autogenerated_branch_name}}", | |
| "claude --dangerously-skip-permissions" | |
| ] | |
| directory = "/Users/craigmdennis/Sites/craigmdennis.com" | |
| id = "main" | |
| type = "terminal" | |
| [[panes]] | |
| commands = [ | |
| "until [ -d /Users/craigmdennis/.warp/worktrees/craigmdennis.com/{{autogenerated_branch_name}} ]; do sleep 0.5; done", | |
| "cd /Users/craigmdennis/.warp/worktrees/craigmdennis.com/{{autogenerated_branch_name}}", | |
| "npm install" | |
| ] | |
| directory = "/Users/craigmdennis/Sites/craigmdennis.com" | |
| id = "install" | |
| type = "terminal" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment