liloo
v0.0.3
Published
liloo =====
Downloads
12
Readme
liloo
Usage
$ npx liloo job-file.json
Job file
Here is an example of a job file to launch several process when developping an express app locally:
{
"defaultSpawnOptions" : { "cwd" : "/home/user/projects/api" },
"commands": {
"UI" : [ "npm", ["start"], { "cwd" : "/home/user/projects/react-app" } ],
"watch-ts" : [ "npm", ["run", "watch-ts"] ],
"watch-express" : [ "npm", ["run", "watch-express"] ],
"ssh-tunnel" : {
"command" : [
"ssh",
[
"-R", "5432:localhost:5432",
"[email protected]"
]
],
"pre" : [
["echo", ["Connecting to distant server..."]]
]
}
}
}