Skip to content

Commit

Permalink
Fix killing processes in Windows gitbash (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipesilva authored and kimmobrunfeldt committed Jan 1, 2017
1 parent ca32b59 commit 136622f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ function run(commands) {
['SIGINT', 'SIGTERM'].forEach(function(signal) {
process.on(signal, function() {
children.forEach(function(child) {
child.kill(signal);
treeKill(child.pid, signal);
});
});
});
Expand Down

0 comments on commit 136622f

Please sign in to comment.