0.2.1 • Published 3 years ago
tmax v0.2.1
tmax
A tool for running multiple processes in parallel with useful output. Designed for monorepos.
⚠️ Alpha and still a little frustrating to use. May be bugs.
Configuration
See , and .
Example
module.exports = {
panes: [
{ label: 'Web', command: 'npm run start-web' },
{ label: 'Test', command: 'npm t -- --watch' },
{ label: 'REPL', command: 'node' },
{
label: 'Builds',
commands: [
{
label: 'package-a',
command: `./node_modules/lerna/cli.js exec npm run build-watch --scope package-a`,
},
{
label: 'package-b',
command: `./node_modules/lerna/cli.js exec npm run build-watch --scope package-b`,
},
{
label: 'package-c',
command: `./node_modules/lerna/cli.js exec npm run build-watch --scope package-c`,
},
]
}
]
}
Todo
- Standardise scrolling between shell panes and log panes.
- Add some tests (yeah I didn't TDD much of this.)
- Add --help.
- Support custom layouts.
- Bug: Display correct error when an error occurs in configuration file.