module Zeitwerk::Loader::Config

def enable_reloading

Raises:
  • (Zeitwerk::Error) -
def enable_reloading
  mutex.synchronize do
    break if @reloading_enabled
    if @setup
      raise Zeitwerk::Error, "cannot enable reloading after setup"
    else
      @reloading_enabled = true
    end
  end
end