Skip to content

Interval is not updated when spinner is updated by name #127

@ngocdaothanh

Description

@ngocdaothanh

Previous report:
#123

Unfortunately, the fix:
https://github.com/sindresorhus/ora/pull/125/files

only handles the case when spinner is updated by an object.

When it's updated like this, the interval won't be update:

const spinner = ora();
spinner.spinner = 'dots';
spinner.spinner = 'monkey';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions