I am using django-supervisor and my supervisor configuration is here.
Running python manage.py supervisor
works great on my 3 Ubuntu machines, but when I try to run it on my mac (10.10), I have 2 problems with django:
If I add
print
statements in code, I can't see it in the consoleIf I stop the supervisor and start it again, it says that my django port is already in use and I have to run:
lsof -i :8000 | awk '{print $2}' | tail -n +2 | xargs kill
every time in order to run the django inside the supervisor.
These 2 problems don't happen on Ubuntu machines.
My Mac is used for dev environment only.
Any ideas how can I fix them?