Auto-reload now survives failed reload
When the server stops within the reloader and let a list of files that were
monitored, the reloader waits for any of these files to change and re-attempt
to start the server.
This work well when a syntax error is saved to a file: there is no need to
restart manually the server anymore.
from logilab.common.configuration import REQUIRED
import cubicweb.schema
cubicweb.schema.INTERNAL_TYPES.add('CWSession')
options = (
('pyramid-auth-secret', {
'type': 'string',
'default': REQUIRED,
'help': 'Secret phrase to encrypt the authentication cookie',
'group': 'pyramid',
'level': 3
}),
('pyramid-session-secret', {
'type': 'string',
'default': REQUIRED,
'help': 'Secret phrase to sign the session cookie',
'group': 'pyramid',
'level': 3
}),
)