Skip to content

cannot start from state :stopped (ArgumentError) #580

Open
@AlexB52

Description

This is more of a question than an issue

What are the reasons preventing the listener's interface to restart after a stop?

require "listen"
listener = Listen.to { |changes| puts changes }
listener.start
listener.stop
listener.start
# => cannot start from state :stopped (ArgumentError)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions