how can I stop my server from freezing when powershell is in ‘select’ mode?

Question:

I didn’t believe this until I tested it a few times, but it’s really happening.

  1. Start rails server and app from powershell: ‘rails s’
  2. open a web page from that server
  3. note how long the page took to get served up
  4. now in powershell, select some text
  5. reload the webpage from step 2
  6. note that the webpage is taking forever to load
  7. set up the windows so that you can see the powershell window and web page at the same time
  8. go back to powershell and hit ‘Enter’ (so that the selected text is copied)
  9. note that the web page loads as soon as the powershell window leaves select mode

TLDR: Rails server started via powershell won’t serve pages while powershell is in ‘Select’ mode.

Is there some setting in powershell that will stop it from doing this? I can see it being helpful when selecting text in the middle of a bat run but when it stops my server it’s flipping obnoxious.

Answer:

Open a powershell window that you would normally start rails in. Open the properties dialog for the window and deselect QuickEdit Mode on the Options tab.

Source:

how can I stop my server from freezing when powershell is in ‘select’ mode? by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply