#!/bin/bash



# ensure that this is ran from the ui directory
if [ ! -f "./src/main.tsx" ]; then
  echo "Please run this script from the app/ui directory"
  exit 1
fi

export PYTHONPATH="`pwd`/../.."

find src -type f -name '*.ts*' -o -name '*.js' -o -name '*.tsx' | entr -r $@