mirror of
https://github.com/discourse/discourse.git
synced 2025-03-24 03:35:43 +08:00

Previously on boot we were always removing and adding the same pre-generated files and symlinks. This change attempts to avoid writing any automatically generated content if it is exactly what it should be on disk. This corrects issues where running a rails console can temporarily corrupt internal state in production.