rfk/django-supervisor — pull request #18 by rassie (2012-03-21 16:08:59+00:00)
Title: Make autoreloader more robust

This pull request is directly connected to #17, i.e. it's my try to fix that.

Let me warn you first: some changes in here are due to my lacking understand of motivation for some code in `django-supervisor`. I'd be happy if even some of this code could be merged or maybe applied in some changed form.

Complete information about the patches is in the individual commit messages. Short version is: `autoreload` behaves funny, leaves processes behind (see #17) and also restarts every process for every file changed, which is rather nasty with `git checkout`. This pull request intends to fix this behaviour.