#!/usr/bin/env bash set -e cd "$(dirname "$0")" source .dev-state-test/env.sh # See startServer.sh for the rationale. saltcorn install-plugin -d ./dev-deploy 2>&1 | tail -2 || true # See startServer.sh for why we cd into the state dir before serving. cd .dev-state-test exec saltcorn serve -p "$SALTCORN_PORT" "$@"