Lately I’ve noticed that changes I make to CSS in theme components are not reflected in the site until I perform a hard refresh of the browser.
The stylesheet used to be automatically updated when the theme CSS was saved. Has something changed?
I’m concerned that users may not see the latest CSS without hard refreshing their browser
6 « J'aime »
joebuhlig
(Joe Buhlig)
Février 20, 2019, 7:24
2
I’ll second this one. I didn’t fully realize it until yesterday, but I know at least one member of our team has had this issue for a while now.
5 « J'aime »
justin
(Justin DiRose)
Février 20, 2019, 8:02
3
6 « J'aime »
Not sure, maybe @david knows?
I’ve been using the CLI all day for 2 days straight now, and I haven’t seen the issue.
5 « J'aime »
david
(David Taylor)
Février 22, 2019, 10:28
7
I’ve seen this as well over the last week. I don’t think it’s theme related, as it happens for me even when editing core stylesheets. Will look into it.
7 « J'aime »
david
(David Taylor)
Février 22, 2019, 9:19
8
Turns out this was two completely separate issues. One for core/plugin stylesheets in development, and one for child theme stylesheets. Both should now be fixed.
No live reload when editing core/plugin scss, if you were using a non-default theme in development
https://github.com/discourse/discourse/commit/16fbbd096a6afbd7eefc1b8dd8048a8ad9474779
Parent themes were not refreshed when editing child themes
https://github.com/discourse/discourse/commit/260398d706627f89765548f9cbd4eed2c1701968
14 « J'aime »
david
(David Taylor)
A fermé ce sujet ()
Février 25, 2019, 6:01
9
This topic was automatically closed after 2 days. New replies are no longer allowed.