Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restart tasks when tasks.toml changes? #132

Open
jellevandenhooff opened this issue Apr 18, 2024 · 2 comments
Open

restart tasks when tasks.toml changes? #132

jellevandenhooff opened this issue Apr 18, 2024 · 2 comments
Labels
enhancement New feature or request needs thought We have some decisions to make before moving on this.

Comments

@jellevandenhooff
Copy link

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

@cgsdev0
Copy link
Contributor

cgsdev0 commented Apr 18, 2024

hi jelle!!!

@amonks amonks added enhancement New feature or request needs thought We have some decisions to make before moving on this. labels Apr 18, 2024
@amonks
Copy link
Owner

amonks commented Apr 18, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs thought We have some decisions to make before moving on this.
Projects
None yet
Development

No branches or pull requests

3 participants