We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c93f45a commit 4a39a27Copy full SHA for 4a39a27
packages/devextreme-cli/testing/nextjs-server.js
@@ -23,6 +23,7 @@ module.exports = class NextJsServer {
23
this.proc.kill('SIGTERM');
24
await new Promise((resolve) => setTimeout(resolve, 1000));
25
this.proc.kill('SIGKILL');
26
+ await new Promise((resolve) => setTimeout(resolve, 1000));
27
28
if(process.platform !== 'win32') {
29
console.log(`-----NEXTJS SERVER-exec kill for port ${this.port} ---->`);
@@ -31,10 +32,9 @@ module.exports = class NextJsServer {
31
32
33
} catch(e) {
34
console.log(`NextJs server on port ${this.port} not found. It's OK`);
35
+ this.proc = null;
36
}
37
-
- this.proc = null;
38
39
40
};
0 commit comments