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.
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user