We've raised a $22m Series A →
Conductor

Tips & Troubleshooting

Running multiple processes

If your run script spawns multiple processes, make sure they're in the same process group so they can be properly cleaned up by using concurrently or a similar tool:

npm install --save-dev concurrently
{
    "scripts": {
        "run": "concurrently \"npm run server\" \"npm run worker\""
    }
}

Avoid & for backgrounding

If you use & to background a process, it will run in a separate process group. This can lead to "port already in use" and similar errors.

For example:

{
    "scripts": {
        "run": "npm run server & npm run worker"
    }
}

When Conductor stops the run script, only the worker will be terminated. The server will continue to run, holding ports, memory, and other resources.

On this page