Fix travis subprocess.kill problem - attempt 3

Spawn a detached process, which should also prevent parent from waiting for kill to finish.
This commit is contained in:
Scott Carver
2018-11-09 18:24:37 -08:00
parent 08b3543b87
commit 3beefe0925

View File

@@ -14,7 +14,8 @@ describe('server process', function() {
console.log("launching server...")
server_proc = child_process.spawn('yarn', ['dev'], {
cwd: '.',
shell: '/bin/bash'
shell: '/bin/bash',
detached: true
});
server_proc.on('exit', function(code, signal) {