I'm working with Django and I have a Redis listener that I run with the following custom command:
python manage.py listen_redis
However, I want the Redis listener to start automatically when I run the Django development server with:
python manage.py runserver
I would like this Redis listener to run concurrently with the Django development server without needing to manually start it via a custom management command.
How can I achieve this?
Or is it not a bad thing to run the script separately?
My full code is linked below, please forgive me but I dont know how to format code in this editor.