amonks / run

Go run some tasks!
https://amonks.github.io/run/
Other
19 stars 4 forks source link

restart tasks when tasks.toml changes? #132

Open jellevandenhooff opened 7 months ago

jellevandenhooff commented 7 months ago

It's a kind of wild idea but it'd be cool to reload the tasks.toml after a change.

cgsdev0 commented 7 months ago

hi jelle!!!

amonks commented 7 months ago

woah

I feel like doing this "right" would be very complex (like, "if only metadata changes but the cmd doesn't, we should leave a long task's process in place, but if the cmd changes we should restart it")

but I bet there is a good compromise available: maybe just have it restart the program :)

or maybe only do that if the run is "short"? I'm picturing, like, you kick off a long-running build and then edit your taskfile, and are annoyed when the build restarts