You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
awaitapp.listen(appConfig.port,appConfig.host,()=>{console.log();console.log('Server has started:');constlistens: string[]=[];constnets=networkInterfaces();// in here stop all ora spinner,ora().clear() not workObject.entries(nets).forEach(([_,net])=>{if(net){for(constitemofnet){if(item.family==='IPv4')listens.push(item.address);}}});consturls=listens.map((l)=>`${appConfig.https ? 'https' : 'http'}://${l}:${appConfig.port}`,);if(urls.length>0){console.log(`- Local: ${chalk.green.underline(urls[0])}`);}if(urls.length>1){console.log(`- Network: ${chalk.green.underline(urls[1])}`);}});
and I want to stop ora spinner after server started
The text was updated successfully, but these errors were encountered:
I run a nestjs server in nodemon,like follow
and in child process
main.ts
and I want to stop
ora
spinner after server startedThe text was updated successfully, but these errors were encountered: