add frontend process service
This commit is contained in:
parent
6da83d87fa
commit
188b300a7f
4 changed files with 31 additions and 7 deletions
|
|
@ -36,14 +36,19 @@ Install dependencies in a fresh checkout or worktree:
|
|||
direnv exec "$(git rev-parse --show-toplevel)" npm install
|
||||
```
|
||||
|
||||
Start the development server on the port assigned by the shell hook:
|
||||
To start only the development server on the port assigned by the shell hook:
|
||||
|
||||
```sh
|
||||
direnv exec "$(git rev-parse --show-toplevel)" \
|
||||
npm run dev -- --port "$VITE_PORT"
|
||||
npm run dev -- \
|
||||
--host 127.0.0.1 \
|
||||
--port "$VITE_PORT" \
|
||||
--strictPort
|
||||
```
|
||||
|
||||
`process-compose` does not start or proxy the frontend.
|
||||
`process-compose` starts the frontend as part of the full development stack.
|
||||
The frontend remains directly accessible on `VITE_PORT`; Caddy does not proxy
|
||||
it.
|
||||
|
||||
The available validation commands are:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue