Skip to content

Add exec param to target to run a process #4

Description

@dherbst

In the target section, add exec with a line to run something and capture the logs. The working directory should be relative to the ratproxy.yaml file, with a name exec-working-dir The logs can be seen in the admin listener.

Expected configuration:

listen: 0.0.0.0:1414
targets:
  - name: npm-run-vue-app
    target: http://localhost:5173
    path: /vue/
    exec: npm run dev
    exec-working-dir: ./web/vue-app
  - name: other-target

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions