spring
spring copied to clipboard
Ctrl+C "destroys" spring
I have spring installed and I run bin/rake As a result the tests are run successfully and everything is fine. Imediately after that I start bin/rake again and after one-two seconds prec Ctrl+C. The process is stopped.
If i then run bin/rake I get an error that non of the migration is run and running the migrations with bin/rake db:migrate does not do anything.
@thebravoman I could not duplicate your issue.
I did following:
bin/rake spec SPEC=path/to/spec/model_spec.rb
check status:
$ spring status
Spring is running:
8363 spring server | rails_app | started 1 hour ago
14762 spring app | rails_app | started 56 secs ago | development mode
14771 spring app | rails_app | started 55 secs ago | test mode
Run test again and interrupt:
bin/rake spec SPEC=path/to/spec/model_spec.rb
^c
Run test:
bin/rake spec SPEC=path/to/spec/model_spec.rb
I did not get any error and tests ran fine.