Skip to content
Snippets Groups Projects
Commit 968e4497cc6f authored by Cédric Krier's avatar Cédric Krier :atom:
Browse files

Add extension to extra files

Otherwise the flask watchdog check only for python files.
parent aa1f288e704a
No related branches found
No related tags found
1 merge request!25Add extension to extra files
Pipeline #62611 passed
......@@ -1056,10 +1056,11 @@
app.run(
debug=ast.literal_eval(os.environ.get('DEBUG', 'True')),
extra_files=[
'templates',
'templates/service_providers',
'templates/events',
'templates/success_stories',
'templates/*.html',
'templates/events/*.html',
'templates/guidelines/*.html',
'templates/service_providers/*.html',
'templates/success_stories/*.html',
])
if not app.debug:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment