wheels server restart
Restart the Wheels development server and reload the application.
Synopsis
Description
The wheels server restart
command restarts a running CommandBox server and automatically reloads the Wheels application. This ensures that both server-level and application-level changes are picked up.
Options
name
name
Type: String
Description: Name of the server to restart
Example:
wheels server restart name=myapp
--force
--force
Type: Boolean flag
Description: Force restart even if server appears stopped
Example:
wheels server restart --force
Examples
What It Does
Stops the running server
Starts the server again with the same configuration
Automatically runs
wheels reload
to refresh the applicationConfirms successful restart
Notes
This command is particularly useful when you've made changes to server configuration or installed new dependencies
The automatic application reload ensures that Wheels picks up any code changes
If the reload fails, you may need to manually refresh your browser
Related Commands
wheels server start
- Start the serverwheels server stop
- Stop the serverwheels server status
- Check server statuswheels reload
- Reload just the application
See Also
Last updated
Was this helpful?