we already are in the right devshell for clan-app, so we no longer need direnv exec. Instead of depending on implicit enviroment variables we can run change the directory based on the git root as this is easier to read and follow.
21 lines
517 B
YAML
21 lines
517 B
YAML
version: "0.5"
|
|
|
|
processes:
|
|
webview-ui:
|
|
command: |
|
|
cd $(git rev-parse --show-toplevel)/pkgs/clan-app/webview-ui/app
|
|
direnv allow
|
|
direnv exec . npm install
|
|
direnv exec . vite
|
|
ready_log_line: "VITE"
|
|
|
|
clan-app:
|
|
command: |
|
|
cd $(git rev-parse --show-toplevel)/pkgs/clan-app
|
|
./bin/clan-app --debug --content-uri http://localhost:3000
|
|
depends_on:
|
|
webview-ui:
|
|
condition: "process_log_ready"
|
|
is_foreground: true
|
|
ready_log_line: "Debug mode enabled"
|