Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

338 B
Raw Blame
#!/usr/bin/env bash
set -euo pipefail

PORT="${MB_JETTY_PORT:-4000}"

if curl -sf "http://localhost:$PORT/api/health" > /dev/null 2>&1; then
  echo "⚠️  Backend already running on :$PORT — reusing it. If you need a different MB_EDITION, kill it first: lsof -ti:$PORT | xargs kill"
  exit 0
fi

exec node e2e/runner/start-backend.js