Cédric Krier pushed to branch branch/default at Tryton / Website


Commits:
968e4497 by Cédric Krier at 2023-02-11T19:51:38+01:00
Add extension to extra files

Otherwise the flask watchdog check only for python files.
- - - - -


1 changed file:

- app.py


Changes:

=====================================
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:



View it on Heptapod: 
https://foss.heptapod.net/tryton/website/-/commit/968e4497cc6f847f3acae849f3bba2456d755c4d

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/website/-/commit/968e4497cc6f847f3acae849f3bba2456d755c4d
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to