You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An idea I have is to expand the returned value of the programmatic API to be something like this:
const commands = concurrently(['echo foo', 'echo bar'], options);
commands.result // promise that resolves/rejects according to the success condition of the options
commands.pids // an array of PIDs
// could have more useful stuff
@gustavohenke what about expanding the input handling functionality and adding ability to restart a process? E.g. srv:restart0:restart. There could be a conflict where you might actually want to pass restart as an input to the process, we could escape it with srv:!restart, and use it for any future commands too
This would be really useful for me. I'd be willing to help with this feature. We could potentially avoid a breaking change by adding a flag or a callback.
But if the breaking change is too large, is there another tool like concurrently that can expose the pids?
Subj
Actually, I want to restart a single process by "killing" it, from the same place, where I have initiated concurrently.
How can I do this?
The text was updated successfully, but these errors were encountered: