spring icon indicating copy to clipboard operation
spring copied to clipboard

Eager fork?

Open phuongnd08 opened this issue 7 years ago • 4 comments

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.

phuongnd08 avatar Aug 25 '18 02:08 phuongnd08

I think it would be even better if we can choose the behaviour (via command line option) on spring server

PikachuEXE avatar Feb 27 '19 06:02 PikachuEXE

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

PikachuEXE avatar Feb 28 '19 01:02 PikachuEXE

Anyone tested #584? Would be good to see some test results, positive or not

PikachuEXE avatar Mar 18 '19 07:03 PikachuEXE

#584 seems not picked up by any project member Although using a forked one is fine for now...

PikachuEXE avatar Sep 25 '19 02:09 PikachuEXE