process-compose: integrate with direnv
This commit is contained in:
@@ -6,13 +6,16 @@ env_cmds:
|
|||||||
processes:
|
processes:
|
||||||
webview-ui:
|
webview-ui:
|
||||||
command: |
|
command: |
|
||||||
npm install
|
direnv allow
|
||||||
vite
|
direnv exec . npm install
|
||||||
ready_log_line: "ready in"
|
direnv exec . vite
|
||||||
|
ready_log_line: "VITE"
|
||||||
working_dir: "$PKG_ROOT_WEBVIEW_UI/app"
|
working_dir: "$PKG_ROOT_WEBVIEW_UI/app"
|
||||||
|
|
||||||
clan-app:
|
clan-app:
|
||||||
command: "clan-app --debug --content-uri http://localhost:3000"
|
command: |
|
||||||
|
direnv allow
|
||||||
|
direnv exec . clan-app --debug --content-uri http://localhost:3000
|
||||||
depends_on:
|
depends_on:
|
||||||
webview-ui:
|
webview-ui:
|
||||||
condition: "process_log_ready"
|
condition: "process_log_ready"
|
||||||
|
|||||||
Reference in New Issue
Block a user