Enabled auto reloading of source files in backend.

parent 7dc530a4
...@@ -12,8 +12,6 @@ urls = ( ...@@ -12,8 +12,6 @@ urls = (
'/math\.py/answer', 'Answer', '/math\.py/answer', 'Answer',
) )
app = web.application(urls, globals())
def get_last_line(): def get_last_line():
data = web.input(data='').data data = web.input(data='').data
...@@ -136,4 +134,5 @@ class validate(object): ...@@ -136,4 +134,5 @@ class validate(object):
if __name__ == "__main__": if __name__ == "__main__":
app = web.application(urls, globals(), autoreload=True)
app.run() app.run()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment