FIX: Ensure live-reloading of theme CSS works first time (PR #8052)

The client-side theme-selector would always apply the first in a series of file change notifications. This has been fixed, so it now applies the most recent notification.

Duplicate notifications were being sent because

  • The remote_theme autosave was causing every change notification to be doubled
  • Color scheme change notifications were being sent every time a theme was uploaded, even if the colors were unchanged

These duplicate notifications have been fixed, and a spec added to ensure it does not regress in future


1 Like

You’ve signed the CLA, davidtaylorhq. Thank you! This pull request is ready for review.