pull/88/head
parent
7de16238a3
commit
e794a85e76
|
@ -9,11 +9,11 @@ const executor = {
|
|||
return true
|
||||
},
|
||||
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
|
||||
},
|
||||
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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue