Spork: how to refresh validations and other code?

前端 未结 4 814
广开言路
广开言路 2020-12-28 07:54

I\'ve been using spork all day, and most of the time it is a really great.

However, I am often running into a few problems where I need to restart Spork in order for

4条回答
  •  -上瘾入骨i
    2020-12-28 08:39

    Use Guard to reload Spork when you update your classes Guard::Spork allows to automatically & intelligently start/reload your RSpec/Cucumber Spork server(s).

    1. https://github.com/guard/guard-spork
    2. http://flux88.com/2011/04/using-guard-spork-with-mongoid-devise/

提交回复
热议问题