SimonSapin/Frozen-Flask — Issue #10: Documentation - example using `run_with_reloader`
Author: alex-morega
Created: 2012-02-11 15:17:39+00:00
State: open

The following snippet proved handy to avoid manually restarting the app during development, it should be mentioned somehow in the documentation:

def main():
freezer.freeze()
freezer.serve()

if __name__ == '__main__':
from werkzeug.serving import run_with_reloader
run_with_reloader(main)