nodemux
v0.2.2
Published
Runs multiple shell commands described in nodemux.json and pipes output to a browser window. Allows control over starting/stopping each task as well as filtering on the logs.
Downloads
135
Readme
Nodemux
Runs multiple shell commands described in nodemux.json and pipes output to a browser window. Allows control over starting/stopping each task as well as filtering on the logs.
Install
npm i -g nodemux
Usage
Run it in any folder which has a nodemux.json file
nodemux --port=9999
// 9999 is default port if none provided
nodemux.json example
Command can be specified as an object with a friendly name or a string.
// nodemux.json
{
"commands": [
{
"friendlyName": "my script +1",
"value": "cd test-scripts && node counter --increment=1"
},
"cd test-scripts && node counter --increment=2"
]
}