mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-11 12:58:35 +03:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user