#!/usr/bin/env bash cd "$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)" set -eo pipefail git ls-files | entr -p ./example.sh