#!/usr/bin/env bash # build-local.sh — Build and run neuron-web + soul-demo for local development. # # Mirrors the container's entrypoint.sh: both processes start together, # soul-demo in background, neuron-web in foreground. Kill neuron-web (Ctrl-C) # and the soul dies with it. No separate process manager. No port conflicts. # # Usage: # ./build-local.sh — build only (fast, leaves inline JS as-is) # ./build-local.sh --run — build and start both servers # EXTRACT_JS=1 ./build-local.sh — also extract inline