我刚刚更新了我的rspec和guard安装,因为guard在我启动后对每个更改都运行了3次
bundle exec guard
。嗯,现在每当我更改代码中的内容时,它就会运行5次。
这是我运行时收到的终端输出消息
捆绑执行保护
10:45:30 - INFO - Guard is using TerminalTitle to send notifications.
10:45:30 - INFO - Guard::RSpec is running
10:45:30 - INFO - Guard::RSpec is running
10:45:30 - INFO - Guard::RSpec is running
10:45:30 - INFO - Guard::RSpec is running
10:45:30 - INFO - Guard::RSpec is running
10:45:30 - INFO - Guard is now watching at '/Users/me/myProject'
10:45:38 - INFO - Running: spec/features/admin_area_spec.rb
我想,也许有一个地方,听众或其他人会开始五次,但我找不到。
使现代化
我正在使用
guard-rspec-4.2.8
,
rspec-2.14.1
和
guard-2.5.1
.