diff --git a/tools/http_server.py b/tools/http_server.py index a3e6adf44e..f8c77f08b2 100755 --- a/tools/http_server.py +++ b/tools/http_server.py @@ -14,6 +14,7 @@ PORT = 4545 def serve_forever(): os.chdir(root_path) # Hopefully the main thread doesn't also chdir. Handler = SimpleHTTPServer.SimpleHTTPRequestHandler + SocketServer.TCPServer.allow_reuse_address = True httpd = SocketServer.TCPServer(("", PORT), Handler) print "Deno test server http://localhost:%d/" % PORT httpd.serve_forever()