#!/usr/bin/env bash # Start a flagd daemon on flags/flags.json (gRPC evaluation on 8013). flagd watches the file, # so editing it while this runs is the "change a flag without a deploy" demo. # FLAGD_BIN=/path/to/flagd ./scripts/run-flagd.sh set -eu cd "$(dirname "$0")/.." exec "${FLAGD_BIN:-flagd}" start -f "file:$(pwd)/flags/flags.json"