nb reload
nb reload signals a running NimbleBrain server to reload its configuration and restart bundle processes. You do not need to restart the server after adding or removing bundles.
nb reloadHow it works
Section titled “How it works”nb reloadReload signal sent. Running runtime will pick up changes.The command writes a timestamp to ~/.nimblebrain/.reload. The running server watches for this sentinel file and picks up the change, re-reading nimblebrain.json and restarting any affected bundle processes.
When to use reload
Section titled “When to use reload”Run nb reload after:
- Adding a bundle with
nb bundle add - Removing a bundle with
nb bundle remove - Changing bundle configuration with
nb config setornb config clear - Manually editing your
nimblebrain.json
Typical workflow
Section titled “Typical workflow”nb bundle add @nimblebraininc/postgresnb config set @nimblebraininc/postgres connection_string=postgres://localhost/mydbnb reloadAdded "@nimblebraininc/postgres" to config. Run nb reload to activate.Saved connection_string for @nimblebraininc/postgresReload signal sent. Running runtime will pick up changes.