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
{{ message }}
Repository navigation
cannot start from state :stopped (ArgumentError) #580
What are the reasons preventing the listener's interface to restart after a stop?
require"listen"listener=Listen.to{ |changes| putschanges}listener.startlistener.stoplistener.start# => cannot start from state :stopped (ArgumentError)
Activity
ColinDKelley commentedon Apr 16, 2024
@AlexB52 I'm guessing there was concern about cleaning up state for reuse like that. Isn't it equally easy to create a new listener?