Closed gustavohenke closed 3 months ago
🚢 This is now available in v9.0.0! https://github.com/open-cli-tools/concurrently/releases/tag/v9.0.0
This is great! Thx @gustavohenke.
I created a simple "waitForStartMessage.js" script, so that I could delay a process until our Orval code generation process is setup.
{
command: `node ${__dirname}/waitForStartMessage.js && yarn start`,
name: "ui",
ipc: 3,
},
This PR implements basic inter-process communication (IPC), which is an API-only feature - not available through CLI.
Command
has the following new fields/methods:send
: to send messagesmessages.incoming
: to listen for received messagesmessages.outgoing
: to listen for sent messagesThe caller must set the
ipc
property when callingconcurrently()
. It sets the number of the file descriptor on which to set up the IPC channel.Example usage:
With this PR I also realise that the README is no longer a good option for documentation. We need to expand it into a website...