mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 23:53:56 +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.