summaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'app.py')
-rw-r--r--app.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/app.py b/app.py
index 3d36d99..bc1945d 100644
--- a/app.py
+++ b/app.py
@@ -1,4 +1,4 @@
-from bottle import Bottle, run, static_file
+from bottle import Bottle, run, debug, static_file
from bottle import jinja2_template as template
app = Bottle()
@@ -11,4 +11,5 @@ def hello():
def server_static(filename):
return static_file(filename, root="./static/")
-run(app, host='localhost', port=8080)
+debug(True)
+run(app, host='localhost', port=8080, reloader=True) \ No newline at end of file