jettdc / gazer

Hot reload, exception recovery, and other controls for locally running multi-project monorepos.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gazer

Hot reload, exception recovery, and other controls for locally running multi-project monorepos.

Config: gazer.yaml

shell:
  exec: [shell executable]
  args:
    - <optional>
gaze-at:
  - name: [process name]
    cmd: [command to run process]
    watch:
      - <files/directories to watch, restart on changes>
    color: <optional>
    restart: <optional | always, retry>
    retries: <optional | int>

Example

shell:
  exec: cmd
  args:
    - /C
gaze-at:
  - name: frontend
    cmd: cd ./frontend && ng serve
    color: blue
    restart: always
  - name: server
    cmd: npm run start:dev --prefix ./backend/src
    watch:
      - ./backend/src
      - ./backend/package.json
    restart: retry
    retries: 3

Commands

  • rs <process name>
    • Restart a process with the given name

About

Hot reload, exception recovery, and other controls for locally running multi-project monorepos.


Languages

Language:Go 100.0%