{"action":"created","issue":{"url":"https://api.github.com/repos/pallets/flask/issues/1910","repository_url":"https://api.github.com/repos/pallets/flask","labels_url":"https://api.github.com/repos/pallets/flask/issues/1910/labels{/name}","comments_url":"https://api.github.com/repos/pallets/flask/issues/1910/comments","events_url":"https://api.github.com/repos/pallets/flask/issues/1910/events","html_url":"https://github.com/pallets/flask/pull/1910","id":160072344,"number":1910,"title":"Enable template auto-reloading in app.run()","user":{"login":"davb5","id":5273579,"avatar_url":"https://avatars.githubusercontent.com/u/5273579?v=3","gravatar_id":"","url":"https://api.github.com/users/davb5","html_url":"https://github.com/davb5","followers_url":"https://api.github.com/users/davb5/followers","following_url":"https://api.github.com/users/davb5/following{/other_user}","gists_url":"https://api.github.com/users/davb5/gists{/gist_id}","starred_url":"https://api.github.com/users/davb5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davb5/subscriptions","organizations_url":"https://api.github.com/users/davb5/orgs","repos_url":"https://api.github.com/users/davb5/repos","events_url":"https://api.github.com/users/davb5/events{/privacy}","received_events_url":"https://api.github.com/users/davb5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-14T00:17:08Z","updated_at":"2016-06-14T20:48:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pallets/flask/pulls/1910","html_url":"https://github.com/pallets/flask/pull/1910","diff_url":"https://github.com/pallets/flask/pull/1910.diff","patch_url":"https://github.com/pallets/flask/pull/1910.patch"},"body":"When Flask app debugging is enabled (app.debug==True), and Jinja2\r\ntemplate auto-reloading is not explicitly disbaled, template\r\nauto-reloading should be enabled.\r\n\r\nIf the app is instantiated, the jinja_env object is accessed (thereby\r\ninitialising the Jinja2 environment) and the server is then started with\r\napp.run(debug=True), template auto-reloading is *not* enabled.\r\n\r\nThis is because reading the jinja_env object causes the environment\r\ninitialisation function to set auto_reload to app.debug (which isn't yet\r\nTrue). Calling app.run(debug=True) should correct this in order to\r\nremain consistent with Flask code reloading (which is enabled within\r\napp.run() if debug == True)."},"comment":{"url":"https://api.github.com/repos/pallets/flask/issues/comments/226011493","html_url":"https://github.com/pallets/flask/pull/1910#issuecomment-226011493","issue_url":"https://api.github.com/repos/pallets/flask/issues/1910","id":226011493,"user":{"login":"untitaker","id":837573,"avatar_url":"https://avatars.githubusercontent.com/u/837573?v=3","gravatar_id":"","url":"https://api.github.com/users/untitaker","html_url":"https://github.com/untitaker","followers_url":"https://api.github.com/users/untitaker/followers","following_url":"https://api.github.com/users/untitaker/following{/other_user}","gists_url":"https://api.github.com/users/untitaker/gists{/gist_id}","starred_url":"https://api.github.com/users/untitaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untitaker/subscriptions","organizations_url":"https://api.github.com/users/untitaker/orgs","repos_url":"https://api.github.com/users/untitaker/repos","events_url":"https://api.github.com/users/untitaker/events{/privacy}","received_events_url":"https://api.github.com/users/untitaker/received_events","type":"User","site_admin":false},"created_at":"2016-06-14T20:48:38Z","updated_at":"2016-06-14T20:48:38Z","body":"I think you're confusing the template reloader of Jinja (enabled by default) with the server reloader from Werkzeug (disabled by default)."}}
{"actor":{"display_login":"untitaker"}}