Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
Add feedback message on terminate
Browse files Browse the repository at this point in the history
  • Loading branch information
fknop committed Mar 22, 2016
1 parent cd85033 commit 4708521
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-npm",
"displayName": "npm",
"description": "npm commands for VSCode",
"version": "3.1.0",
"version": "3.1.1",
"publisher": "fknop",
"icon": "npm_icon.png",
"engines": {
Expand Down
3 changes: 3 additions & 0 deletions src/run-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ export function terminate (pid) {

const childCommand = childs.get(pid);
if (childCommand.child) {
outputChannel.appendLine('');
outputChannel.appendLine(`Killing process: ${childCommand.cmd} (pid:${pid})`);
outputChannel.appendLine('');
kill(pid, 'SIGTERM');
}
}
Expand Down

0 comments on commit 4708521

Please sign in to comment.