|
|
@ -9,11 +9,11 @@ const executor = {
|
|
|
|
return true
|
|
|
|
return true
|
|
|
|
},
|
|
|
|
},
|
|
|
|
async linux (exec, { port }) {
|
|
|
|
async linux (exec, { port }) {
|
|
|
|
await exec('kill `lsof -i:' + port + " |grep 'dev-sidecar\\|electron' |awk '{print $2}'`")
|
|
|
|
await exec('kill `lsof -i:' + port + " |grep 'dev-sidecar\\|electron\\|@docmirro' |awk '{print $2}'`")
|
|
|
|
return true
|
|
|
|
return true
|
|
|
|
},
|
|
|
|
},
|
|
|
|
async mac (exec, { port }) {
|
|
|
|
async mac (exec, { port }) {
|
|
|
|
await exec('kill `lsof -i:' + port + " |grep 'DevSide\\|Elect' |awk '{print $2}'`")
|
|
|
|
await exec('kill `lsof -i:' + port + " |grep 'dev-side\\|Elect' |awk '{print $2}'`")
|
|
|
|
return true
|
|
|
|
return true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|