File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/devextreme-cli/testing Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ function getPidByPort(port) {
1313
1414function killProcByPid ( pid ) {
1515 try {
16- execSync ( `kill -9 ${ pid } ` , { stdio : 'ignore' } ) ;
16+ execSync ( `kill -15 ${ pid } ` , { stdio : 'ignore' } ) ;
1717 } catch ( e ) { }
1818}
1919
@@ -41,12 +41,12 @@ module.exports = class NextJsServer {
4141 // this.proc.kill('SIGTERM');
4242 // await new Promise((resolve) => setTimeout(resolve, 1000));
4343 // this.proc.kill('SIGKILL');
44-
44+ console . log ( '-----NEXTJS SERVER-STOP---process.kill->' , ! ! this . proc , process . platform ) ;
4545 process . kill ( - this . proc . pid , 'SIGKILL' ) ;
4646 await new Promise ( ( resolve ) => setTimeout ( resolve , 1000 ) ) ;
4747 }
4848
49- if ( process . platform === 'win32' ) {
49+ if ( process . platform === 'win32' || 1 ) {
5050 return ;
5151 }
5252
You can’t perform that action at this time.
0 commit comments