wheels reload
Reload the Wheels application in different modes.
Synopsis
Description
The wheels reload
command reloads your Wheels application, clearing caches and reinitializing the framework. This is useful during development when you've made changes to configuration, routes, or framework settings.
Arguments
mode
Reload mode: development
, testing
, maintenance
, production
development
password
Reload password (overrides configured password)
From .wheels-cli.json
Options
--help
Show help information
Reload Modes
Development Mode
Enables debugging
Shows detailed error messages
Disables caching
Ideal for active development
Testing Mode
Optimized for running tests
Consistent environment
Predictable caching
Maintenance Mode
Shows maintenance page to users
Allows admin access
Useful for deployments
Production Mode
Full caching enabled
Minimal error information
Optimized performance
Examples
Basic reload (development mode)
Reload in production mode
Reload with custom password
Reload for testing
Security
The reload password must match the one configured in your Wheels application
Default password from
.wheels-cli.json
is used if not specifiedPassword is sent securely to the application
Configuration
Set the default reload password in .wheels-cli.json
:
Or in your Wheels settings.cfm
:
Notes
Reload clears all application caches
Session data may be lost during reload
Database connections are refreshed
All singletons are recreated
Common Issues
Invalid password: Check password in settings
Timeout: Large applications may take time to reload
Memory issues: Monitor JVM heap during reload
See Also
Last updated
Was this helpful?