Does anybody know how Kemal auto-restart works ?
From the snippet, I guess the magic lies with
sentry, but I don’t know what that is…
Never mind, I found the manual for
If it’s for development purposes, I’m stil using
find . -iname '*.cr' -o -iname '*.ecr' | entr -rs 'shards build server && exec bin/server'
Which is easily findable in my shell history.
The neat thing with
entr is that pretty generic, so
find web/modules/custom/ -iname '*.php' | entr ./vendor/bin/phpunit works out just as well.
sentry does have nicer output.
Thank you !