Console doesn't reload app


#1

When using scripts/console, changes made to any classes/methods in my
application files do not reflect in the console until i restart it. I
verified that RAILS_ENV is indeed set to development. Isn’t that
supposed to reload the app on every call? is the console different?

Thanks,
Sebastian


#2

Indeed, I’m having the same problem…
Maybe there is a command so we could force it to reload?


#3

TDC wrote:

Indeed, I’m having the same problem…
Maybe there is a command so we could force it to reload?

Hmm, found the command :slight_smile:

Dispatcher.reset_application!