Lisa
Forcing Typo to use new code
- Manyfish
- Posts: 5
- Starts: 2
- Wiki Edits: 0
I've just starting using Typo to run my blog. I've found a couple of bugs, but tracking them down is really hard because Typo seems to use the old version of files, so that if I put calls to logger.info, they get ignored. I have a couple of times been able to force Typo to update by accident, but have no idea how to do it on purpose. My app is running with fastcgi. Any ideas?
Lisa
Lisa
- Manyfish
- Posts: 5
- Starts: 2
- Wiki Edits: 0
In case anyone else is having this problem, this is a setting within Typo. Take a look in config/environments/production.rb. There are 3 lines related to caching:
config.cache_classes = true
config.action_controller.consider_all_requests_local = false
config.action_controller.perform_caching = true
I flipped all of the boolean values and Typo would run my changed files. Not sure if you have to flip all 3, but, there you go!
config.cache_classes = true
config.action_controller.consider_all_requests_local = false
config.action_controller.perform_caching = true
I flipped all of the boolean values and Typo would run my changed files. Not sure if you have to flip all 3, but, there you go!