summaryrefslogtreecommitdiff
path: root/tools/run-frontend
blob: ccb9bd43264e65da08029a185f3b5ea0cd33d563 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash -e

## tools/run-frontend [OPTIONS…]
##
## Runs a development server for the Pilcrow UI. Options are passed through to
## the `npx vite dev` command. This is best combined with the `API_SERVER`
## environment variable, to configure the development server to connect to a
## running Pilcrow instance.

exec npx vite dev --host "$@"