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
Specifically in my app I have a stopwatch running, which works by having a constantly ticking:
{-| An effect that triggers TimerTick after 1 second-}tickSecond:EffectsActiontickSecond =Task.sleep 1000
`Task.andThen` (always <|Task.succeed TimerTick)|>Effects.task
Obviously since elm-hot-reload just replaces the model, this task doesn't get restarted. It would be nice if we could somehow track in-progress effects that haven't yet completed, and restart them at the same time as reloading the state.
The text was updated successfully, but these errors were encountered:
Specifically in my app I have a stopwatch running, which works by having a constantly ticking:
Obviously since elm-hot-reload just replaces the model, this task doesn't get restarted. It would be nice if we could somehow track in-progress effects that haven't yet completed, and restart them at the same time as reloading the state.
The text was updated successfully, but these errors were encountered: