spring
spring copied to clipboard
Removing log file while spring is running prevents test log file creation
Ruby 2.1.2, Rails 4.1.4, Spring 1.1.3, RSpec 2.14.1, spring-commands-rspec 1.0.2
While Spring is running, if I remove the test log file it is not created at the next bin/rspec execution; I have to stop Spring and the log file gets created again.
Could be related to spring-commands-rspec gem and not to this project?
This issue probably applies to the development log file as well. It should be solvable using:
Spring.after_fork do
Rails.logger.reopen
end