details: https://code.tryton.org/tryton/commit/0914735d4a49
branch: default
user: Cédric Krier <[email protected]>
date: Wed Dec 03 12:10:53 2025 +0100
description:
Auto reload the server when tryton.cfg files are modified
Since 6eb1a23b7457 the tryton.cfg files contains the model to register.
Therefore if they change, the server must be reloaded.
diffstat:
trytond/bin/trytond | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 161020480088 -r 0914735d4a49 trytond/bin/trytond
--- a/trytond/bin/trytond Wed Dec 03 12:08:12 2025 +0100
+++ b/trytond/bin/trytond Wed Dec 03 12:10:53 2025 +0100
@@ -69,7 +69,7 @@
if options.dev and not options.coroutine:
for module in get_modules():
info = get_module_info(module)
- for ext in ['xml',
+ for ext in ['cfg', 'xml',
'fodt', 'odt', 'fodp', 'odp', 'fods', 'ods', 'fodg', 'odg',
'txt', 'html', 'xhtml']:
path = os.path.join(info['directory'], '**', '*.' + ext)