#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" PREVIOUS_DIR=$(pwd) cd $DIR echo "$(git ls-files bin/em/variabletime/web)" | entr -d ./reloadbrowser.sh cd $PREVIOUS_DIR