spring icon indicating copy to clipboard operation
spring copied to clipboard

Ctrl+C "destroys" spring

Open thebravoman opened this issue 10 years ago • 1 comments

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 avatar Feb 19 '15 10:02 thebravoman

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

sonalkr132 avatar Dec 13 '15 06:12 sonalkr132