bob icon indicating copy to clipboard operation
bob copied to clipboard

`bob run` add option to use ui development servers

Open Equanox opened this issue 3 years ago • 0 comments

When running a local environment with multiple frontends it is tedious to start them by hand in multiple shells. This issue is about adding support for development with hot reload capacities.

Consider

  • Stream cmd output correctly to the tui started by bob run. Consider how terminal reset can be handled correctly (e.g. vue's dev server cleans the output after a successful build)
  • The cmd run task could probably implement the noop issue https://github.com/benchkram/bob/issues/36

Example bob.yaml

run:
  server:
    type: binary
    path: ./build/server
    dependson:
      - build
  ui:
    cmd: npm run serve
    dir: ./ui
    dependson:
      - server

Equanox avatar Apr 01 '22 10:04 Equanox