summaryrefslogtreecommitdiff
path: root/tools/run-frontend
diff options
context:
space:
mode:
authorKit La Touche <kit@transneptune.net>2024-11-28 21:54:15 -0500
committerKit La Touche <kit@transneptune.net>2024-11-28 21:54:15 -0500
commit810ebb811c40b50ddb95bb9559d7515f46ec2052 (patch)
tree993abbd49907b399af933a44fb40e2e88c6933a5 /tools/run-frontend
parentd23685c0ea46c92c75d43b6d6a361597241dd95e (diff)
parent5ce6c9f6277c43caf7413cce255af7bdc947e74c (diff)
Merge branch 'main' into wip/stylize
Diffstat (limited to 'tools/run-frontend')
-rwxr-xr-xtools/run-frontend10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/run-frontend b/tools/run-frontend
new file mode 100755
index 0000000..14ff49c
--- /dev/null
+++ b/tools/run-frontend
@@ -0,0 +1,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 "$@"