#!/usr/bin/env bash

set -euo pipefail

builtin cd "$(dirname "${BASH_SOURCE[0]}")"

(builtin cd web_ui && ./install_yarn.sh && yarn install && yarn build)

exec bazel run :trace_viewer -- "$@"
