spatie / laravel-horizon-watcher

Automatically restart Horizon when local PHP files change
https://spatie.be/open-source
MIT License
218 stars 15 forks source link

Added queue:watch Command #4

Closed hmennen90 closed 2 years ago

hmennen90 commented 2 years ago

This PR introduced the queue:watch command which does the same as the horizon:watch command.

Additionally you can specify the queue option, to watch and restart a specific queue - useful if you are using multiple queues, even in development

For example:

queue:watch --queue=my-queue

freekmurze commented 2 years ago

Thank you for your work on this.

I'm going to hold off on this for now, and only support Horizon to keep things simple.

I might add the functionality in a next major release.

hmennen90 commented 2 years ago

@freekmurze thanks :-)

May i can publish this PR as a standalone Package, mentioning your Base Package? Cause this functionality would be great for current projects

freekmurze commented 2 years ago

@hmennen90 Yeah sure! Have fun creating your package!