Skip to content

Commit a58c788

Browse files
wip. checking test for nextjs-ts add logs
1 parent 088977f commit a58c788

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

packages/devextreme-cli/src/utility/run-command.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ module.exports = function(commandName, args = [], customConfig = {}) {
2020
const proc = spawn(command, args, config);
2121

2222
const promise = new Promise((resolve, reject) => {
23-
proc.on('exit', (code) => code ? reject(code) : resolve());
23+
proc.on('exit', (code) => {
24+
console.log('----runCommand exit------>', code);
25+
code ? reject(code) : resolve();
26+
});
2427
});
2528

2629
promise.kill = (signal = 'SIGTERM') => {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ module.exports = class DevServer {
2424
cwd: this.env.appPath
2525
});
2626

27-
console.log('-----start--runCommand-executed-->');
2827
await startedPromise;
28+
console.log('-----start--runCommand-executed-->');
2929
} else {
3030
await webServer.start(this.env.deployPath);
3131
}

0 commit comments

Comments
 (0)