Skip to content

Commit 892eeda

Browse files
wip. checking test for nextjs-ts add logs
1 parent be7f4d0 commit 892eeda

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

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

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

2222
const promise = new Promise((resolve, reject) => {
23+
proc.stdout.on('data', (data) => {
24+
const output = data.toString();
25+
console.log('SERVER STARTED!\n', output);
26+
});
27+
2328
if(!config.noExit) {
24-
proc.stdout.on('data', (data) => {
25-
const output = data.toString();
26-
console.log('SERVER STARTED!\n', output);
27-
});
29+
2830

2931
proc.on('exit', (code) => {
3032
console.log('----runCommand exit------>', code);

0 commit comments

Comments
 (0)