pull/88/head
xiaojunnuo 3 years ago
parent 7de16238a3
commit e794a85e76

@ -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
} }
} }

Loading…
Cancel
Save