Module: Hanami::CLI::Commands::Console::CodeReloading Private
- Defined in:
- lib/hanami/cli/commands/console.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Implements console code reloading
Instance Method Summary collapse
- #reload! ⇒ Object private
Instance Method Details
#reload! ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
35 36 37 38 |
# File 'lib/hanami/cli/commands/console.rb', line 35 def reload! puts 'Reloading...' Kernel.exec "#{$PROGRAM_NAME} console" end |