Closed bfrontend closed 2 years ago
import ora from 'ora'; const spinner = ora().start() for (let i = 0; i< 100; i++) { spinner.text = `run time ${i}` }
Looping through 100 numbers is so fast that it would not be visible. You need to add a delay.