spring
spring copied to clipboard
Eager fork?
When I was using zeus, it tried to load in advance every thing: so rails g, rails c, rails s, rake should run instantly after changes. Not so much with spring. Everytime there is necessary reload, spring sit in the background doing nothing, and the next invoke of command will have to wait for the reload to happen. I would suggest one launched, spring should actively re-fork itself as soon as it detects the changes.
I think it would be even better if we can choose the behaviour (via command line option) on spring server
I opened a PR #584 You can try to install via Gemfile and test
gem "spring", git: "https://github.com/PikachuEXE/spring.git", branch: "eager-fork"
Remember to run with bundle exec to pick the right version
Anyone tested #584? Would be good to see some test results, positive or not
#584 seems not picked up by any project member Although using a forked one is fine for now...