Mercurial > libervia-web
diff twisted/plugins/libervia_server.py @ 1151:49ff1330c9d0
server: added "dev_mode" boolean option (not used yet but will be soon)
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 22 Feb 2019 16:56:58 +0100 |
parents | 4426c328eb83 |
children | b300eaec53b6 |
line wrap: on
line diff
--- a/twisted/plugins/libervia_server.py Wed Feb 06 09:19:33 2019 +0100 +++ b/twisted/plugins/libervia_server.py Fri Feb 22 16:56:58 2019 +0100 @@ -152,6 +152,8 @@ ['base_url_ext', '', '', _(u'The external URL to use as base URL').encode('utf-8'), coerceUnicode], + ['dev_mode', 'D', False, _(u'Developer mode, automatically reload' + u'modified pages').encode('utf-8'), coerceBool], ] # Options which are in sat.conf only OPT_PARAMETERS_CFG = [