Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i use this in conjunction with log-update? #79

Open
mikeerickson opened this issue Jun 25, 2018 · 1 comment
Open

How can i use this in conjunction with log-update? #79

mikeerickson opened this issue Jun 25, 2018 · 1 comment

Comments

@mikeerickson
Copy link
Sponsor

I have implemented log-update and I love it! Now I want to make it even prettier by adding the spinning dots.

How would I go about using both?

fs.readdirSync('./database/seeds', (err, files) => {
  files.forEach((filename) => {
      .then(result => {
        logUpdate(`${filename}`);
      })
})
@sindresorhus
Copy link
Owner

You can use the .frame() method.

I guess I could document this in the readme as a tip.

@sindresorhus sindresorhus changed the title How can i use this in conjunction with logUpdate How can i use this in conjunction with log-update? Jul 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants