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

View File

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