Skip to content

Commit 4bfff0a

Browse files
committed
refactor wording
1 parent a9224d3 commit 4bfff0a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

packages/core/src/dev/activation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ const menuOptions: () => Record<DevFunction, MenuOption> = () => {
130130
},
131131
startChildProcess: {
132132
label: 'ChildProcess: Start child process',
133-
detail: 'start a ChildProcess manually that is invoked through our wrapper',
133+
detail: 'Start ChildProcess from our utility wrapper for testing',
134134
executor: startChildProcess,
135135
},
136136
}

packages/core/src/shared/utilities/processUtils.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ export class ChildProcessTracker {
139139
}
140140

141141
public clear() {
142+
for (const childProcess of this.#processByPid.values()) {
143+
childProcess.stop(true)
144+
}
142145
this.#pids.clear()
143146
this.#processByPid.clear()
144147
}

0 commit comments

Comments
 (0)