Using Spring

Learn to use Spring and learn about its disadvantages.

Using Spring

Spring defines a half dozen or so subcommands that can all be called with syntax like bundle exec spring <command>. Let’s try running <command> in the terminal below:

Terminal 1
Terminal
Loading...

After we run the tests, we can check the status of Spring again:

Press + to interact
$ bundle exec spring status

After we run my tests, Spring stays running in the background, as confirmed by the spring status update. If we then enter the Rails console or ...