From 9b69feff2c4d097a6dedd387e80cb6e7c694ca3a Mon Sep 17 00:00:00 2001 From: Scott Carver Date: Fri, 9 Nov 2018 17:51:21 -0800 Subject: [PATCH] Use bash for shell This may work around a problem where kill() does not work correctly in a travis context (https://github.com/travis-ci/travis-ci/issues/704) --- test/server_process.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/server_process.js b/test/server_process.js index ec58a47..0a98845 100644 --- a/test/server_process.js +++ b/test/server_process.js @@ -13,7 +13,8 @@ describe('server process', function() { console.log("launching server...") server_proc = child_process.spawn('yarn', ['dev'], { - cwd: '.' + cwd: '.', + shell: '/bin/bash' }); server_proc.on('exit', function(code, signal) {