• B
    autoreload: Support directories in CLI wrapper · bc68b8ad
    Ben Darnell 提交于
    A previous commit added support for using autoreload within programs
    that were started as directories; this commit supports them when
    run with the -m tornado.autoreload wrapper.
    
    This change may have side effects for file mode since we now use
    runpy.run_path instead of executing the file by hand (I don't think
    the run_path function existed when this code was originally written).
    bc68b8ad
autoreload.py 13.9 KB