is there a simpler way to let apache/mod_wsgi restart automatically when py files changed?

I have a django site running in apache/mod_wsgi. Every time after updating the code I need restart apache manually.

mod_wsgi provide a method to do it: which I think is, kind of, not so decent.

So my question is: is there a simpler and more decent way to do it? Such as an apache mod which monitor the files' status or something else. If there's not, is it possible to write an apache mod to do it?

wamp/xampp localhost responding very slow

I don't know what's the problem. wamp was very slow so i reformatted my computer, installed wamp, and still, accessing localhost is very very slow, sometimes it doesn't load at all. I even removed it and replaced with xampp but still got the same result. What might possibly be the problem? Here's my current hosts file:

# Copyright (c) 1993-1999 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# For example:
#          # source server
#              # x client host       localhost       localhost

It was perfectly working fine before but I do not know what happened why it acted strange lately that even a reformat didn't fix it.