I have a simple script for viewing the webpage I am working on.
import SimpleHTTPServer
import SocketServer
PORT = 8000
Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
httpd = SocketServer.TCPServer(("", PORT), Handler)
print "serving at port", PORT
httpd.serve_forever()
I've copied this script to a few directories with different index.html pages I am working on. I killed the server serving index_A (in its own directory, Development/A). However when I try to run the script in Development/B (which should serve index_B) it is still serving index_A.
Edit: When I change the port I am using, it serves the correct index. Still not sure why the old index shows up in the old port, even when I kill the process.