Also kill off extraneous safari instances

pull/1/head
Caleb James DeLisle 7 years ago
parent 7fce5fe2d7
commit fa3a536f34

@ -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());

Loading…
Cancel
Save