After changing and saving some code in my controller, RailsDevTweaks seems to ignore the fact and doesn’t reload the code. In the logs it says:
RailsDevTweaks: Skipping ActionDispatch::Reloader hooks for this request.
Apart from not using RailsDevTweaks, how can I make it reload after a change?
It turns out that this was only happening on AJAX requests. After looking at the configuration options, adding this to my application config fixes it: