#!/bin/sh if ! type entr > /dev/null; then apk add entr fi openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem -days 3650 -nodes -subj "/CN=localhost" # php $(pwd)/public/index.php #find $(pwd) -type f -name '*.php' -o -name '*.twig' find $(pwd) -type f \( -name "*.php" -o -name "*.twig" \) -not \( -path "*/vendor/*" \) | entr -rn php $(pwd)/public/index.php