Skip to content

Command Line Tools

wheels reload

Reload the Wheels application in different modes.

Terminal window
wheels reload [options]
wheels r [options]

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. Note: the server must be running for this command to work.

ArgumentDescriptionDefault
modeReload mode: development, testing, maintenance, productiondevelopment
passwordThe reload password configured in your applicationEmpty

Set the reload password in your Wheels settings.cfm:

set(reloadPassword="mySecretPassword");
Terminal window
wheels reload password=mypassword
  • Enables debugging
  • Shows detailed error messages
  • Disables caching
  • Ideal for active development
Terminal window
wheels reload mode=testing password=mypassword
  • Optimized for running tests
  • Consistent environment
  • Predictable caching
Terminal window
wheels reload mode=maintenance password=mypassword
  • Shows maintenance page to users
  • Allows admin access
  • Useful for deployments
Terminal window
wheels reload mode=production password=mypassword
  • Full caching enabled
  • Minimal error information
  • Optimized performance
  • The reload password must match the one configured in your Wheels application
  • Password is sent via URL parameter to the running application
  • Always use a strong password in production environments
  • Reload clears all application caches
  • Session data may be lost during reload
  • Database connections are refreshed
  • All singletons are recreated
  • The server must be running for this command to work
  • Invalid password: Check password in settings.cfm
  • Server not running: Start server with box server start
  • Connection refused: Ensure server is accessible on expected port
  • Timeout: Large applications may take time to reload