Well, I didn't find a clever way to solve this, but I let Intellij help me. It offers a
compound
run configuration, where you can specify multiple configurations to run at the same time. It doesn't work well outside of Intellij, but it serves my purpose for now.
a
Aleksei Tirman [JB]
10/12/2021, 10:20 AM
As an alternative, you can have an external script that executes both tasks.