# HG changeset patch
# User Cédric Krier <ced@b2ck.com>
# Date 1676141498 -3600
#      Sat Feb 11 19:51:38 2023 +0100
# Node ID 968e4497cc6f847f3acae849f3bba2456d755c4d
# Parent  aa1f288e704ab17231fd285cbdedfbc93a35f583
Add extension to extra files

Otherwise the flask watchdog check only for python files.

diff --git a/app.py b/app.py
--- a/app.py
+++ b/app.py
@@ -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: