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
Spring's been a real treat over the years, but I noticed it stopped reloading my applications recently. I'm not sure if it is related with my upgrade to Catalina, but the breakage seemed to happen at the same time so I'm suspicious.
Happy to assist in debugging (I'd find it interesting to explore all that socket and threading stuff which I rarely use in my work). Just tell me what I can do.
Reproduction steps for failing tests in spring repo
Ruby 2.7.1
Spring 2.1.0
MacOS 10.15.3 (19D76) — using an encrypted Apple File System
$ cd /tmp
$ rails new testapp
$ cd testapp
$ bin/spring server
$ bin/rails console
$ bin/rails dev:cache
At this point nothing happens (i.e. spring status does not show the application was restarted), whereas in the past Spring would reload due to the presence of this configuration in default rails:
Spring.watch(".ruby-version",".rbenv-vars","tmp/restart.txt",# this file gets added/removed when running bin/rails dev:cache"tmp/caching-dev.txt")
This happened in an app configured with a polling watcher and with another using the new default, spring-watcher-listen. When I tested the underlying dependency, rb-fsevent, to watch the same directories it worked perfectly so I don't think the issue lies downstream.
The text was updated successfully, but these errors were encountered:
As further evidence that there's likely something broken, there's a popular Twitter thread today by Advi Grimm about how Spring is bringing down the reputation of Rails, causing the basic 101 documented features of Rails 6 to fail: https://twitter.com/avdi/status/1256743699859603457
Spring's been a real treat over the years, but I noticed it stopped reloading my applications recently. I'm not sure if it is related with my upgrade to Catalina, but the breakage seemed to happen at the same time so I'm suspicious.
Happy to assist in debugging (I'd find it interesting to explore all that socket and threading stuff which I rarely use in my work). Just tell me what I can do.
Reproduction steps for failing tests in spring repo
Ruby 2.7.1
Spring 2.1.0
MacOS 10.15.3 (19D76) — using an encrypted Apple File System
Reproduction steps in Rails
Rails - 6.0.2.2
At this point nothing happens (i.e.
spring status
does not show the application was restarted), whereas in the past Spring would reload due to the presence of this configuration in default rails:This happened in an app configured with a
polling
watcher and with another using the new default,spring-watcher-listen
. When I tested the underlying dependency,rb-fsevent
, to watch the same directories it worked perfectly so I don't think the issue lies downstream.The text was updated successfully, but these errors were encountered: