Skip to content

Commit c93f45a

Browse files
wip. test checking
1 parent 22530af commit c93f45a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ module.exports = class NextJsServer {
2020
async stop() {
2121
if(this.proc) {
2222
console.log('-----NEXTJS SERVER-STOP---->');
23+
this.proc.kill('SIGTERM');
24+
await new Promise((resolve) => setTimeout(resolve, 1000));
2325
this.proc.kill('SIGKILL');
2426

2527
if(process.platform !== 'win32') {

0 commit comments

Comments
 (0)