cjet-dev-utils
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -12,3 +12,2 @@ /** | ||
var execSync = require('child_process').execSync; | ||
var execFileSync = require('child_process').execFileSync; | ||
var path = require('path'); | ||
@@ -30,3 +29,3 @@ | ||
function getProcessIdOnPort(port) { | ||
return execFileSync('lsof', ['-i:' + port, '-P', '-t', '-sTCP:LISTEN'], execOptions) | ||
return execSync('lsof -i:' + port + ' -P -t -sTCP:LISTEN', execOptions) | ||
.split('\n')[0] | ||
@@ -33,0 +32,0 @@ .trim(); |
{ | ||
"name": "cjet-dev-utils", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Webpack utilities used by cjet", | ||
@@ -5,0 +5,0 @@ "repository": { |
4
110057
2517