You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
305 B
8 lines
305 B
#!/usr/bin/env node
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
var index_1 = require("./index");
|
|
index_1.kill(process.argv[2]).then(function (pids) {
|
|
console.log(pids ? pids.length + " process was killed" : 'no processes was found listening on the given port.');
|
|
});
|