-
Notifications
You must be signed in to change notification settings - Fork 345
Description
Call me crazy, but once in a while I need to restart spring to fix some issue. Usually, I have to go through a painful debugging phase before realizing that I need to restart the spring server.
I noticed that other people feel the same way:
- https://evilmartians.com/chronicles/living-in-sin-with-spring
- https://discuss.rubyonrails.org/t/spring-fails-to-notice-changes-and-reload-frequently-enough-that-it-is-a-constant-hindrance/74496/18
I was thinking: How about an option to auto restart spring at some interval, say, every 10 seconds? I havn't really looked into the internals of spring, but since it's already quite fast for me to just manually restart it every few seconds in the terminal I imagine that internal functionality could make the process even smoother.
It seems to me that this allows me to get all the advantages of spring without having to deal with the disadvantages.
Looking forward to hearing from folks that know more about this gem.