File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
packages/devextreme-cli/testing Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -18,17 +18,15 @@ module.exports = class DevServer {
1818 await startedPromise . kill ( ) ;
1919 }
2020
21- await new Promise ( ( resolve ) => {
22- console . log ( '-----start----->' ) ;
21+ console . log ( '-----start----->' ) ;
2322
24- startedPromise = runCommand ( 'npm' , [ 'run' , 'start' ] , {
25- cwd : this . env . appPath ,
26- // https://github.com/facebook/create-react-app/issues/3657
27- env : Object . assign ( process . env , { CI : false } )
28- } ) ;
29-
30- resolve ( ) ;
23+ startedPromise = runCommand ( 'npm' , [ 'run' , 'start' ] , {
24+ cwd : this . env . appPath ,
25+ // https://github.com/facebook/create-react-app/issues/3657
26+ env : Object . assign ( process . env , { CI : false } )
3127 } ) ;
28+
29+ await webServer . start ( this . env . deployPath ) ;
3230 } else {
3331 await webServer . start ( this . env . deployPath ) ;
3432 }
You can’t perform that action at this time.
0 commit comments