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 sentry
:
1 Like
If it’s for development purposes, I’m stil using entr
:
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.
Though sentry
does have nicer output.
4 Likes
Thank you !