7.1 has to restart server every change or stall?

I’m running a docker container on windows(11), recently upgraded to 7.1 I can’t figure any way to make the rails server reliably reflect changes in the dev environment without stalling hard or requiring a restart.

I also am running actioncable with this upgrade, if that is a problem. Is this a common experience? It’s quite obnoxious. Tried everything I could find. Even updated wsl.

Server either totally ignores changes even to the simplest updates, or refuses to respond entirely. The best I can get it is to where it stalls and I smash refresh 20 times then it wakes up, and quickly processes 20 requests at once, then falls into a coma again…

thanks!

Rails on Docker + Windows 11 often stalls after upgrading to 7.1 because of file change detection issues with WSL2 volumes. Common fixes:

  • Mount volumes with :cached or :delegated options.

  • Use rails s --reload or add listen gem (gem 'listen', '~> 3.8').

  • Run bin/rails dev:cache to toggle cache.

  • For ActionCable, ensure it’s not blocking with Puma workers/threads misconfig.

  • If still stuck, run Rails server inside WSL instead of Docker Desktop for faster, reliable file sync