blob: 14ff49cd3da6335e79d16140c3863e69e621d469 (
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 `npm run 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 npm run dev -- --host "$@"
|