Skip to content

Commit

Permalink
reloader fix
Browse files Browse the repository at this point in the history
Fixes #713
  • Loading branch information
miguelgrinberg committed Jun 3, 2018
1 parent ac273c4 commit 549cad6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flask_socketio/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ def run(info, host, port, reload, debugger, eager_loading, with_threads):
print(' * Serving Flask-SocketIO app "%s"' % info.app_import_path)
if debug is not None:
print(' * Forcing debug mode %s' % (debug and 'on' or 'off'))
else:
# if this is the child process of the reloader, then make sure we don't
# start the reloader once again
reload = False

def run_server():
app = info.load_app()
Expand Down

0 comments on commit 549cad6

Please sign in to comment.