From 815bd08c8eb68c45cb13043cf90d4a2d9a784135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 3 Dec 2025 12:10:53 +0100 Subject: [PATCH] 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. --- trytond/bin/trytond | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trytond/bin/trytond b/trytond/bin/trytond index cf4c3b2d37..1f131f1802 100755 --- a/trytond/bin/trytond +++ b/trytond/bin/trytond @@ -69,7 +69,7 @@ with commandline.pidfile(options): 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)