pycharm建立flask项目不能实时更新文件

很奇怪的一个问题
我用pycharm2017.2建立flask工程,在启动后,修改template下的文件,却不能实时在页面体现出来。
hello.py

from flask import Flask

from flask import render_template

app = Flask(__name__)

@app.route('/')

def hello_world():

    return render_template('index.html')

if __name__ == '__main__':

    app.run()

templates/index.html

修改index.html文件不能实时更新


HUWWW
浏览 3030回答 1
1回答
打开App,查看更多内容
随时随地看视频慕课网APP