โ˜… Automatically restart Horizon when local PHP files change

43 ยท Freek Van der Herten ยท Oct. 30, 2022, 10:34 p.m.
We've released a new package called spatie/laravel-horizon-watcher. This one can automatically restart Horizon after any code change. In this post, I'd like to share why we've built and how you can use it. Why you need to restart Horizon locally Imagine you're debugging a queued job locally. You've started Horizon to mimic production and are tinkering with the code of the job. After each code change, you are dispatching the job to verify if the problem is fixed. Nothing seems to help, and the j...