orphelix restart
Restart the Orphelix application without rebuilding. This is a quick restart that only restarts the PM2 process.Usage
What it does
Therestart command:
- Syncs static assets to standalone build
- Restarts the PM2 process
rebuild (1-2 seconds vs 30-60 seconds).
Options
| Option | Alias | Description |
|---|---|---|
--port | -p | Custom port |
--name | -n | Instance name |
Example
When to use
Userestart when:
- You’ve changed configuration files (
.env.local) - You want to reload without code changes
- You need a quick restart
rebuild instead.
Difference from rebuild
| Command | What it does | Time | Use case |
|---|---|---|---|
restart | Restart PM2 only | ~1s | Config changes |
rebuild | Build + restart | ~30-60s | Code changes |