Also kill stray running servers

This commit is contained in:
Caleb James DeLisle 2017-12-20 17:58:10 +01:00
parent 571f0307dc
commit d54a010bf4
1 changed files with 5 additions and 0 deletions

View File

@ -64,6 +64,11 @@ run('npm', ['install'], () => {
'ps -ef | grep -v grep | grep \'/Applications/Firefox.app/Contents/MacOS/firefox-bin\'' +
' | awk \'{print $2}\' | while read x; do kill $x; done'
], waitFor());
run('bash', ['-c',
'lsof | grep \'TCP .*:hbci (LISTEN)\'' +
' | awk \'{print $2}\' | while read x; do kill $x; done'
], waitFor());
}
}).nThen((waitFor) => {
run('bower', ['install'], waitFor());