CLI / dev
The dev command launches your application in development mode with automatic file watching and application reloading using Guard.
Overview
During active application development, bin/roda dev sets RACK_ENV=development and executes bundle exec guard. Guard monitors your project directory for file modifications (such as routes, models, views, or assets) and automatically reloads the server or triggers test suites.
Usage
$ bin/roda dev
What it does
- Sets
RACK_ENV=development. - Invokes
Guardviabundle exec guard. - Monitors project paths specified in your project’s
Guardfile. - Automatically updates local development processes without requiring manual application restarts.