overseer.nvim icon indicating copy to clipboard operation
overseer.nvim copied to clipboard

feature request: wait_for_it_if_exists

Open franroa opened this issue 1 year ago • 0 comments

Did you check existing requests?

  • [X] I have searched the existing issues

Describe the feature

I wonder how dificult would be to create a component which waits for another task to finish.

The idea is, for example: I create a watch on a folder to bild a module (or many watches for many modules) Then I run my "tests" task, which waits for all my "watch build modules" to finish (if the watch is running in that very moment) The tests runs, and in the meanwhile I write some more code in my modules, so I need the watch to wait for changes, otherwise it could remove the packages build which are being tested

Something like:

build task

Task: build_modules Watch [module_one, module_two] WaitFor [task.tests]

tests tasks

Task: tests Run: "run all" WaitFor: build_modules

Key Idea is that I am waiting for those tasks/watches processes only if they are running, otherwise I can fire my tasks/watches

Provide background

No response

What is the significance of this feature?

strongly desired

Additional details

No response

franroa avatar Jul 15 '24 10:07 franroa