Also kill off extraneous safari instances

This commit is contained in:
Caleb James DeLisle 2017-12-19 19:36:17 +01:00
parent 7fce5fe2d7
commit fa3a536f34
1 changed files with 5 additions and 0 deletions

View File

@ -55,6 +55,11 @@ run('npm', ['install'], () => {
'ps -ef | grep -v grep | grep \'Google Chrome.app/Contents/MacOS/Google Chrome\'' +
' | awk \'{print $2}\' | while read x; do kill $x; done'
], waitFor());
run('bash', ['-c',
'ps -ef | grep -v grep | grep \'/usr/bin/safaridriver\'' +
' | awk \'{print $2}\' | while read x; do kill $x; done'
], waitFor());
}
}).nThen((waitFor) => {
run('bower', ['install'], waitFor());