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 curtidas
joebuhlig
(Joe Buhlig)
Fevereiro 20, 2019, 7:24pm
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 curtidas
justin
(Justin DiRose)
Fevereiro 20, 2019, 8:02pm
3
6 curtidas
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 curtidas
david
(David Taylor)
Fevereiro 22, 2019, 10:28am
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 curtidas
david
(David Taylor)
Fevereiro 22, 2019, 9:19pm
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 curtidas
david
(David Taylor)
Fechado
Fevereiro 25, 2019, 6:01pm
9
This topic was automatically closed after 2 days. New replies are no longer allowed.