Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] Auto reload templates #630

Merged
merged 2 commits into from
Feb 20, 2024
Merged

[fix] Auto reload templates #630

merged 2 commits into from
Feb 20, 2024

Conversation

iseabock
Copy link
Contributor

Motivation and Context

app.py was not reloading static files after frontend changes causing an error.

Description

app.config["TEMPLATES_AUTO_RELOAD"] = True adding this line fixed the issue

Contribution Checklist

Built and ran locally
No frontend changes
This is for all users
No breaking changes

app.py Outdated Show resolved Hide resolved
Copy link
Contributor

@sarah-widder sarah-widder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@iseabock iseabock merged commit 06450a3 into main Feb 20, 2024
1 check passed
@iseabock iseabock deleted the NO-TASK-templates-auto-reload branch February 20, 2024 23:34
ConnieLi-Cook pushed a commit to sydneybeckcook/sample-app-aoai-chatGPT-customcookgpt that referenced this pull request Jul 17, 2024
Co-authored-by: Ian Seabock (Centific Technologies Inc) <v-ianseabock@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants