Question:
I didn’t believe this until I tested it a few times, but it’s really happening.
- Start rails server and app from powershell: ‘rails s’
- open a web page from that server
- note how long the page took to get served up
- now in powershell, select some text
- reload the webpage from step 2
- note that the webpage is taking forever to load
- set up the windows so that you can see the powershell window and web page at the same time
- go back to powershell and hit ‘Enter’ (so that the selected text is copied)
- 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.