Quickly serve Homestead sites using ngrok
You need to download ngrok
before using this script.
Clone this repo or just copy the contents of nserve.sh
into your .bash_profile
nserve
will loop through your ~/Homestead/Homestead.yaml
and figure out in which directory you are and serve it. Will serve localhost
if nothing is found.
nserve domain
will serve domain