Merge pull request #160 from continuedev/tomasz/add-log-watcher

improv: watch logs
This commit is contained in:
Tomasz Stefaniak 2025-08-05 10:30:31 -07:00 • committed by GitHub
commit 672c1c9445
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 28 additions and 2 deletions

3
.vscode/launch.json vendored
View file

@ -21,7 +21,8 @@
"resolveSourceMapLocations": [
"${workspaceFolder}/**",
"!**/node_modules/**"
]
],
"preLaunchTask": "watch-logs"
},
{

26
.vscode/tasks.json vendored
View file

@ -27,6 +27,30 @@
"showReuseMessage": true,
"clear": false
}
},
{
"label": "watch-logs",
"type": "shell",
"command": "npm run watch:logs",
"isBackground": true,
"problemMatcher": {
"pattern": {
"regexp": "^$",
"file": 1,
"location": 2,
"message": 3
},
"background": {
"activeOnStart": true,
"beginsPattern": "^.*$",
"endsPattern": "^.*$"
}
},
"presentation": {
"reveal": "always",
"panel": "new",
"focus": false
}
}
]
}
}

View file

@ -18,6 +18,7 @@
"repomix:sdk": "npx repomix node_modules/@continuedev/sdk --ignore **/api,cli-repomix.xml -o sdk-repomix.xml",
"repomix:cli": "npx repomix --ignore sdk-repomix.xml -o cli-repomix.xml",
"lint": "tsc --noEmit",
"watch:logs": "tail -f ~/.continue/logs/cn.log",
"prepare": "npm run build",
"semantic-release": "semantic-release",
"semantic-release:dry-run": "semantic-release --dry-run"