Skip to content

Commit e93a602

Browse files
wip. test checking
1 parent d898cfc commit e93a602

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/devextreme-cli/testing/nextjs-server.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,12 @@ module.exports = class NextJsServer {
3939
console.log('-----NEXTJS SERVER-STOP---process.platform->', !!this.proc, process.platform);
4040
if(this.proc) {
4141

42-
this.proc.kill('SIGTERM');
43-
await new Promise((resolve) => setTimeout(resolve, 1000));
44-
this.proc.kill('SIGKILL');
42+
// this.proc.kill('SIGTERM');
43+
// await new Promise((resolve) => setTimeout(resolve, 1000));
44+
// this.proc.kill('SIGKILL');
45+
46+
process.kill(-this.proc.pid, 'SIGKILL');
4547
await new Promise((resolve) => setTimeout(resolve, 1000));
46-
process.kill(-this.proc.pid);
4748
}
4849

4950
if(process.platform === 'win32') {

0 commit comments

Comments
 (0)