You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I have had this issue for a long time now. I am not versed in spring's internals, so I don't really know what is happening.
The issue is as follows :
Boot spring server
Run spring commands (rails c, rails g, rails migrate ...)
After a while running any spring command will hang indefinitely.
The server logs seem to indicate it's always after some watcher reload, but unsure why / if really related
Important note : I'm running 2 spring server in 2 different projects. For a while I was just running them normally, but I recently tried adding a separate SPRING_TMP_PATH for each, hoping it would solve the issue but it didn't.
Also : Spring is NOT bundled in the project (but the project uses bundler). My other teammates don't want to use it, so I installed it myself locally gem install spring and have aliases to run spring on rails commands : alias rails=spring rails
There is no more logs after this. You can see I attempted to run rails g and rails c -> both are waiting for application to be preloaded indefinitively because of the sendmsg error.
This effectively locks my terminal and I have to kill -9 the spring client process, CTRL-C is apparently ignored
The only fix I have found is to spring stop and re-run the command
The text was updated successfully, but these errors were encountered:
So I have had this issue for a long time now. I am not versed in spring's internals, so I don't really know what is happening.
The issue is as follows :
Important note : I'm running 2 spring server in 2 different projects. For a while I was just running them normally, but I recently tried adding a separate
SPRING_TMP_PATH
for each, hoping it would solve the issue but it didn't.Also : Spring is NOT bundled in the project (but the project uses bundler). My other teammates don't want to use it, so I installed it myself locally
gem install spring
and have aliases to run spring onrails
commands :alias rails=spring rails
Here are the server logs :
There is no more logs after this. You can see I attempted to run
rails g
andrails c
-> both arewaiting for application to be preloaded
indefinitively because of thesendmsg
error.This effectively locks my terminal and I have to
kill -9
the spring client process, CTRL-C is apparently ignoredThe only fix I have found is to
spring stop
and re-run the commandThe text was updated successfully, but these errors were encountered: