Skip to content

Commit

Permalink
add hot reload
Browse files Browse the repository at this point in the history
  • Loading branch information
philsupertramp committed Sep 4, 2020
1 parent de43f73 commit a5f50eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,3 @@ def index():
@app.route('/hello')
def hello():
return 'Hello, World'


if __name__ == '__main__':
# parseObjects(root)
app.run()
7 changes: 7 additions & 0 deletions wsgi.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from app import app

if __name__ == '__main__':
"""
run with gunicorn --bind 0.0.0.0:5000 wsgi:app --reload
"""
app.run()

0 comments on commit a5f50eb

Please sign in to comment.