sessions - updates to selfhost setup (#298943)

* sessions - updates to selfhost setup

* document more hooks
This commit is contained in:
Benjamin Pasero
2026-03-03 13:39:31 +01:00
committed by GitHub
parent 2c34409c0b
commit 8c6874835d
3 changed files with 28 additions and 2 deletions

View File

@@ -4,7 +4,19 @@
"sessionStart": [
{
"type": "command",
"bash": "if [ -f ~/.vscode-worktree-setup ]; then nohup npm ci > /tmp/npm-ci-$(date +%Y-%m-%d_%H-%M-%S).log 2>&1 & fi"
"bash": "if [ -f ~/.vscode-worktree-setup ]; then nohup bash -c 'npm ci && npm run compile' > /tmp/worktree-setup-$(date +%Y-%m-%d_%H-%M-%S).log 2>&1 & fi"
}
],
"sessionEnd": [
{
"type": "command",
"bash": ""
}
],
"agentStop": [
{
"type": "command",
"bash": ""
}
],
"userPromptSubmitted": [
@@ -26,4 +38,4 @@
}
]
}
}
}