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(SecureDropConfig): pass env for inferring debug mode #7120

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

cfm
Copy link
Member

@cfm cfm commented Feb 22, 2024

Status

Ready for review

Description of Changes

Fixes #6784.

Testing

  • Run make dev.
  • touch or change a file belonging to one of the Flask apps.
  • The Flask apps reload.

Deployment

Development-only; no deployment considerations.

Checklist

If you made changes to the server application code:

  • Linting (make lint) and tests (make test) pass in the development container

If you made changes to the system configuration:

The interactions among our "env" and "DEBUG" and Flask's "ENV" and
"DEBUG" are not ideal, but refactoring them is well beyond the scope of
this fix.
@cfm cfm marked this pull request as ready for review February 27, 2024 18:30
@cfm cfm requested a review from a team as a code owner February 27, 2024 18:30
Copy link
Contributor

@zenmonkeykstop zenmonkeykstop left a comment

Choose a reason for hiding this comment

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

Works as expected, LGTM!

@zenmonkeykstop zenmonkeykstop merged commit ae491cc into develop Feb 29, 2024
17 checks passed
@legoktm legoktm deleted the 6784-hot-reload branch May 9, 2024 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

development server no longer hot-reloads on file changes
2 participants