How can I make pry re-cache the files from the 'load' command after it cached them the first time? Ruby

65 Views Asked by At

Lets say I have 2 Ruby files: board.rb and card.rb.
Inside board.rb I have the following code:

require_relative "card"

Now when I run load "board.rb" inside PRY for the first time it loads both files in just fine, but if I make any changes to card.rb and load the board again, it doesn't re-cache the changes to the card. Is there any way for force cache everything again?

0

There are 0 best solutions below