File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
packages/devextreme-cli/testing Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,11 @@ module.exports = class NextJsServer {
3939 async stop ( ) {
4040 console . log ( '-----NEXTJS SERVER-STOP---process.platform->' , ! ! this . proc , process . platform ) ;
4141 if ( this . proc ) {
42- process . kill ( - this . proc . pid ) ;
43- // this.proc.kill('SIGTERM');
44- // await new Promise((resolve) => setTimeout(resolve, 1000));
45- // this.proc.kill('SIGKILL');
46- // await new Promise((resolve) => setTimeout(resolve, 1000));
42+ // process.kill(-this.proc.pid);
43+ this . proc . kill ( 'SIGTERM' ) ;
44+ await new Promise ( ( resolve ) => setTimeout ( resolve , 1000 ) ) ;
45+ this . proc . kill ( 'SIGKILL' ) ;
46+ await new Promise ( ( resolve ) => setTimeout ( resolve , 1000 ) ) ;
4747 }
4848
4949 if ( process . platform === 'win32' ) {
You can’t perform that action at this time.
0 commit comments