Skip to content

Commit

Permalink
Disable Flask reloader (google#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwillchen committed Jun 14, 2024
1 parent 19cf296 commit d55f26d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesop/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def main(argv: Sequence[str]):
log_startup(port=port())
logging.getLogger("werkzeug").setLevel(logging.WARN)

flask_app.run(host="::", port=port(), use_reloader=not FLAGS.prod)
flask_app.run(host="::", port=port(), use_reloader=False)


if __name__ == "__main__":
Expand Down

0 comments on commit d55f26d

Please sign in to comment.