Skip to content

Commit 6a726cf

Browse files
committed
fix(lib/testWithSpectron): force kill dev server
1 parent 2bb83e2 commit 6a726cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/testWithSpectron.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ module.exports = (spectron, options = {}) =>
6666
stopServe: () => {
6767
// Exit serve process
6868
child.stdin.write('close')
69-
child.kill()
69+
child.kill('SIGKILL')
7070
// Close spectron
7171
if (app && app.isRunning()) return app.stop()
7272
}

0 commit comments

Comments
 (0)