From b715f4c6edcb1b8e8df274636b29f732bef65407 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Thu, 28 Nov 2024 19:08:10 -0500 Subject: Add separate runners for a freestanding frontend and the (debug version of) the unified build. --- tools/run-frontend | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 tools/run-frontend (limited to 'tools/run-frontend') 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 "$@" -- cgit v1.2.3