diff --git a/index.js b/index.js index c0fa2aa..8c85c74 100644 --- a/index.js +++ b/index.js @@ -174,7 +174,7 @@ const kill = (() => { const parseInput = async input => { if (typeof input === 'string' && input[0] === ':') { - return portToPid(Number.parseInt(input.slice(1), 10)); + return portToPid({port: Number.parseInt(input.slice(1), 10), host: '*'}); } return input;