schell / steeloverseer

A file watcher and development tool.
BSD 3-Clause "New" or "Revised" License
128 stars 15 forks source link

Actions don't restart after an `AsyncCancelled` #44

Open mavnn opened 2 years ago

mavnn commented 2 years ago

If a file change triggers a longer task, and an other file is changed sos interrupts the current task with an AsyncCancelled message.

I'd then expect it to immediately restart the relevant actions, as a watch file has changed. Instead, it waits until an other change is made, and then restarts.

I'm not sure if this is by design or a bug, but either way it would be nice to have the option to restart immediately after cancellation.

If this is a bug, it might be related to #38.