When must the server restart?
Spacebar-server must restart in the following cases:
- The .env file or config (database or CONFIG_PATH) has changed.
- Files in the
client_test,preload-pluginsfolders of insideassetshave changed. - Files inside
srchave changed (remember tonpm run build). - The
assets/schemas.jsonfile has changed. - The RabbitMQ connection has been lost.
For all other cases, you do not need to restart the server. For example:
- Editing any table in the database other than
config. For example, to edit ausersrights - Database connection was lost (this should auto reconnect)
This is not an exhaustive list. If a change you made is not applied, the first thing you should try is restarting.