dograh/.vscode/tasks.json
Abhishek 982030d26e
chore: worktree dev setup (#484)
* chore: auto-assign per-worktree backend port via VS Code folderOpen task

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* chore: remove .conductor dev setup (moved to native git worktrees)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-30 15:40:29 +05:30

23 lines
810 B
JSON

{
// Auto-runs when a worktree folder is opened. The first time, VS Code asks
// to "Allow Automatic Tasks in Folder" (or run it via the command palette:
// "Tasks: Allow Automatic Tasks in Folder"). Assigns this worktree a unique
// backend port and points the UI env at it — see scripts/worktree-assign-port.sh.
"version": "2.0.0",
"tasks": [
{
"label": "Assign worktree port",
"type": "shell",
"command": "${workspaceFolder}/scripts/worktree-assign-port.sh",
"presentation": {
"reveal": "silent",
"panel": "shared",
"close": true
},
"runOptions": {
"runOn": "folderOpen"
},
"problemMatcher": []
}
]
}