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
preload-pluginsfolders of inside
- Files inside
srchave changed (remember to
npm run build).
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:
npm run generate:client
npm run generate:changelog
- Editing any table in the database other than
config. For example, to edit a
- 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.