-
-
Notifications
You must be signed in to change notification settings - Fork 638
Open
Description
Description
The --verbose
option is documented in the bin/dev --help
output but causes an error when used.
Steps to Reproduce
-
Run
bin/dev --help
- it shows:⚙️ OPTIONS: --route ROUTE Specify route to display in URLs (default: root) --rails-env ENV Override RAILS_ENV for assets:precompile step only (prod mode only) --verbose, -v Enable verbose output for pack generation
-
Try to use the option:
bin/dev --verbose
Expected Behavior
The command should run with verbose output enabled.
Actual Behavior
/Users/justin/.local/share/mise/installs/ruby/3.4.3/lib/ruby/gems/3.4.0/gems/react_on_rails-16.1.1/lib/react_on_rails/dev/server_manager.rb:139:in 'ReactOnRails::Dev::ServerManager.run_from_command_line': invalid option: --verbose (OptionParser::InvalidOption)
from bin/dev:34:in '<main>'
Environment
- react_on_rails version: 16.1.1
- Ruby version: 3.4.3
Suggested Fix
Either:
- Implement the
--verbose
option in the ServerManager's OptionParser, or - Remove it from the help documentation if it's not intended to be supported
Metadata
Metadata
Assignees
Labels
No labels