Skip to content

Commit 39ad848

Browse files
committed
update process.title for more granular pkill that does not kill other related processes
1 parent 297f88f commit 39ad848

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ If the daemon isn't running, `svelte-check-daemon check` will just run `svelte-c
5050
| -------- | --------------------------------------------------------------------------------------------------------------- |
5151
| `SIGHUP` | Restarts `svelte-check --watch`. Useful when you want to force a full recheck without restarting the daemon. |
5252

53-
To force a restart: `pkill -HUP -f svelte-check-daemon`
53+
To force a restart: `pkill -HUP svelte-check-daemon`
5454

5555
## AGENTS.md
5656

5757
Add this to your project's `AGENTS.md` to help AI agents work with the daemon:
5858

5959
```markdown
60-
If svelte-check results seem stale, run `pkill -HUP -f svelte-check-daemon` to force a full recheck.
60+
If svelte-check results seem stale, run `pkill -HUP svelte-check-daemon` to force a full recheck.
6161
```
6262

6363
## Environment variables

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@ampcode/svelte-check-daemon",
33
"publisher": "ampcode",
44
"description": "A daemon for svelte-check that caches results for faster type checking",
5-
"version": "0.0.5",
5+
"version": "0.0.6",
66
"packageManager": "pnpm@10.24.0",
77
"license": "Apache-2.0",
88
"type": "module",

src/daemon.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export class SvelteCheckDaemon {
4949
}
5050

5151
async start(): Promise<void> {
52+
process.title = 'svelte-check-daemon';
5253
this.cleanup();
5354

5455
fs.writeFileSync(this.pidPath, process.pid.toString());

0 commit comments

Comments
 (0)