Skip to content

Commit 6394687

Browse files
committed
f
1 parent 58bbeec commit 6394687

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/commands/stop.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,12 @@ export default class Stop<T extends typeof Stop> extends BaseCommand<T> {
5959
let pids = processList.map(x => x.pid);
6060

6161
if (pids.length) {
62-
this.log('got master pid %j', pids);
62+
this.log('got master pid %j, list:', pids);
63+
this.log('');
64+
for (const item of processList) {
65+
this.log('- %s: %o', item.pid, item.cmd);
66+
}
67+
this.log('');
6368
this.killProcesses(pids);
6469
// wait for 5s to confirm whether any worker process did not kill by master
6570
await scheduler.wait(flags.timeout);

0 commit comments

Comments
 (0)