fix worktree archive terminal cleanup and worktree setup

This commit is contained in:
Mohamed Boudra
2026-02-16 11:55:16 +07:00
parent 04a06197de
commit 90a81462cb
5 changed files with 178 additions and 22 deletions
+3 -2
View File
@@ -2,12 +2,13 @@
"worktree": {
"setup": [
"npm ci",
"npm run build --workspace=@getpaseo/relay",
"cp \"$PASEO_SOURCE_CHECKOUT_PATH/packages/server/.env\" \"$PASEO_WORKTREE_PATH/packages/server/.env\""
],
"terminals": [
{
"name": "anti-andran dev",
"command": "npm run dev"
"name": "dev",
"command": "SESSION_NAME=\"${PWD##*/}\"; if ! tmux has-session -t \"$SESSION_NAME\" 2>/dev/null; then tmux new-session -d -s \"$SESSION_NAME\" -c \"$PWD\"; tmux send-keys -t \"$SESSION_NAME\":0.0 \"npm run dev\" Enter; fi"
}
]
}