lib/docman/deployers/deployer.rb in docman-0.0.23 vs lib/docman/deployers/deployer.rb in docman-0.0.24
- old
+ new
@@ -53,9 +53,10 @@
stored_config_hash = read_version_file_param('config_hash')
@config_hash = Docman::Application.instance.config.config_hash
@config_yaml = Docman::Application.instance.config.unmutable_config.to_yaml
#TODO: need to refactor
+ #TODO: need to check changes in config repo too
stored_docroot_config_hash = read_version_file_param('docroot_config_hash')
@docroot_config_hash = @docroot_config.config_hash
@docroot_config_yaml = @docroot_config.raw_infos.to_yaml
if stored_config_hash != @config_hash
log 'Forced rebuild as configuration was changed', 'info'
\ No newline at end of file