Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
nggit committed Nov 18, 2023
1 parent 282e25d commit 91c2ff1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example_uvloop.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ async def app(scope, receive, send):
})

if __name__ == '__main__':
tremolo.run(app, host='0.0.0.0', port=8000, debug=True)
tremolo.run(app, host='0.0.0.0', port=8000, debug=True, reload=True)
4 changes: 2 additions & 2 deletions websocket_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@ async def ws_handler(websocket=None, request=None, stream=False, **_):
"""

if __name__ == '__main__':
# don't forget to disable debug on production!
app.run('0.0.0.0', 8000, debug=True)
# don't forget to disable debug and reload on production!
app.run('0.0.0.0', 8000, debug=True, reload=True)

0 comments on commit 91c2ff1

Please sign in to comment.