Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Hooks show no session end entry #298769

@bpasero

Description

@bpasero

I see this:

Image

But the hooks.json has this:

{
	"version": 1,
	"hooks": {
		"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"
			}
		],
		"sessionEnd": [
			{
				"type": "command",
				"bash": "if [ -f ~/.vscode-worktree-setup ]; then nohup npm run compile fi"
			}
		],
		"userPromptSubmitted": [
			{
				"type": "command",
				"bash": ""
			}
		],
		"preToolUse": [
			{
				"type": "command",
				"bash": ""
			}
		],
		"postToolUse": [
			{
				"type": "command",
				"bash": ""
			}
		]
	}
}

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions