0.0.3 • Published 4 years ago

liloo v0.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

liloo

oclif Version Downloads/week License

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", 
          "root@distant.db.server" 
        ] 
      ],
      "pre" : [
        ["echo", ["Connecting to distant server..."]]
      ]
    }
  }
}
0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.0.0

4 years ago