Skip to content

Commit 58dc7ec

Browse files
wip. test checking
1 parent 4a39a27 commit 58dc7ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module.exports = class NextJsServer {
1010

1111
async start() {
1212
await this.stop();
13+
1314
console.log('----RUN START SERVER CMD------>');
1415
({ proc: this.proc } = await runCommand('npx', ['next', 'start', `-p ${this.port}`], {
1516
cwd: this.env.appPath,
@@ -18,8 +19,8 @@ module.exports = class NextJsServer {
1819
}
1920

2021
async stop() {
22+
console.log('-----NEXTJS SERVER-STOP---process.platform->', process.platform);
2123
if(this.proc) {
22-
console.log('-----NEXTJS SERVER-STOP---->');
2324
this.proc.kill('SIGTERM');
2425
await new Promise((resolve) => setTimeout(resolve, 1000));
2526
this.proc.kill('SIGKILL');

0 commit comments

Comments
 (0)