]> khamidou — GitHub mirrors - kite.git/commitdiff
turned on autoreload for bottle server
authorkarim hamidou <khamidou@gmail.com>
Fri, 8 Nov 2013 07:42:44 +0000 (08:42 +0100)
committerkarim hamidou <khamidou@gmail.com>
Fri, 8 Nov 2013 07:42:44 +0000 (08:42 +0100)
src/back/kite/server.py

index b19f0e720da749e9bd92ba9a7a1a7d8f5e40ebaa..ad13232e049385b967d322855a03324d09fc5904 100644 (file)
@@ -15,4 +15,4 @@ def index(user, id):
             mdir = read_mail("/home/kite/Maildir")
             return json.dumps([get_email(mdir, id)])
 
-bottle.run(host='localhost', port='8080')
+bottle.run(host='localhost', port='8080', reloader=True)