Class: Plutonium::Reloader
- Inherits:
-
Object
- Object
- Plutonium::Reloader
- Defined in:
- lib/plutonium/reloader.rb
Overview
Reloader class for Plutonium
This class is responsible for reloading during development.
Class Method Summary collapse
-
.start! ⇒ void
Start the reloader.
Class Method Details
.start! ⇒ void
This method returns an undefined value.
Start the reloader
14 15 16 17 18 19 20 21 |
# File 'lib/plutonium/reloader.rb', line 14 def start! puts "=> [plutonium] starting reloader" ActiveSupport::Notifications.instrument("plutonium.reloader.start") do @listener&.stop @listener = initialize_listener end end |