Files
posthog/bin/start-frontend
2025-02-26 09:19:43 +01:00

13 lines
428 B
Bash
Executable File

#!/bin/bash
set -e
# pass first argument to WEBPACK_HOT_RELOAD_HOST
[ $# -ge 1 ] && export WEBPACK_HOT_RELOAD_HOST=$1
# DEBUG=1 might be exported to this script from a parent, but we don't want it in the frontend build process
# In particular, DEBUG=1 enables a lot of Tailwind logging we don't need, so let's set 0 instead
export DEBUG=0
pnpm --filter=@posthog/frontend... install
bin/turbo --filter=@posthog/frontend start