Spring: does "rails server" not start spring?

2.9k views Asked by At

I'm just wondering: doesn't rails server start spring? It seems, that only rake or rails console starts spring. Is this normal behaviour, or do I have something misconfigured?

1

There are 1 answers

1
gavin1986 On

I just confused too. Then I find this.

here explained when spring will start

rails console, rails generate, rails runner

These execute the rails command you already know and love. If you run a different sub command (e.g. rails server) then spring will automatically pass it through to the underlying rails executable (without the speed-up).