#!/usr/bin/env bash

export PYTHONPATH=$PYTHONPATH:../python

if [ $1 == "loop" ]; then
  DIR=..
  while :; do
    python -m unittest
    echo "Awaiting changes in $DIR"
    inotifywait -r -e modify $DIR
  done
else
  python -m unittest -v
fi


