Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring: does "rails server" not start spring?

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?

like image 785
Joshua Muheim Avatar asked Aug 14 '14 07:08

Joshua Muheim


1 Answers

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).

like image 109
gavin1986 Avatar answered Oct 21 '22 07:10

gavin1986