testdouble/cypress-rails

Code reloading

Closed this issue · 2 comments

Hey!

First of all, I'd like to say thanks. This project made installing cypress in a pet project a really fast experience! So thanks for your hard work.

For some reason, when running rake cypress:open it seems that my application code doesn't get reloaded on changes. It makes TDDing harder.

I'm not entirely sure if that's something that is specific to my app or not though. Maybe there's a config I'm missing?

Thanks for pointing this out. I had forgotten to document the setting you need. Added to the README that you want to set config.cache_classes = false in your test environment config file.

Fixed by: 2299a22

Thanks! 😃