# CSS auto refresh not working?

**URL:** https://meta.discourse.org/t/css-auto-refresh-not-working/109658
**Category:** Bug
**Created:** [February 20, 2019, 2:05pm UTC](https://meta.discourse.org/t/css-auto-refresh-not-working/109658 "2019-02-20T14:05:12Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [February 20, 2019, 2:05pm UTC](https://meta.discourse.org/t/css-auto-refresh-not-working/109658/1 "2019-02-20T14:05:12Z")

</div>

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

---

<div class="post-metadata">

### Author: ![joebuhlig](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joebuhlig/32/193054_2.png) [@joebuhlig](https://meta.discourse.org/u/joebuhlig)
#### Post date: [February 20, 2019, 7:24pm UTC](https://meta.discourse.org/t/css-auto-refresh-not-working/109658/2 "2019-02-20T19:24:14Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![justin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin/32/157614_2.png) [@justin](https://meta.discourse.org/u/justin)
#### Post date: [February 20, 2019, 8:02pm UTC](https://meta.discourse.org/t/css-auto-refresh-not-working/109658/3 "2019-02-20T20:02:54Z")

</div>

@angus and I also noted this on the Theme CLI topic.

[https://meta.discourse.org/t/discourse-theme-cli-console-app-to-help-you-build-themes/82950/69](https://meta.discourse.org/t/discourse-theme-cli-console-app-to-help-you-build-themes/82950/69)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [February 21, 2019, 2:08am UTC](https://meta.discourse.org/t/css-auto-refresh-not-working/109658/4 "2019-02-21T02:08:05Z")

</div>

Not sure, maybe @david knows?

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [February 21, 2019, 2:13am UTC](https://meta.discourse.org/t/css-auto-refresh-not-working/109658/6 "2019-02-21T02:13:01Z")

</div>

🤔 I’ve been using the CLI all day for 2 days straight now, and I haven’t seen the issue.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [February 22, 2019, 10:28am UTC](https://meta.discourse.org/t/css-auto-refresh-not-working/109658/7 "2019-02-22T10:28:25Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [February 22, 2019, 9:19pm UTC](https://meta.discourse.org/t/css-auto-refresh-not-working/109658/8 "2019-02-22T21:19:42Z")

</div>

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.

1. 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](https://github.com/discourse/discourse/commit/16fbbd096a6afbd7eefc1b8dd8048a8ad9474779)

1. Parent themes were not refreshed when editing child themes

[https://github.com/discourse/discourse/commit/260398d706627f89765548f9cbd4eed2c1701968](https://github.com/discourse/discourse/commit/260398d706627f89765548f9cbd4eed2c1701968)

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [February 25, 2019, 6:01pm UTC](https://meta.discourse.org/t/css-auto-refresh-not-working/109658/9 "2019-02-25T18:01:16Z")

</div>

This topic was automatically closed after 2 days. New replies are no longer allowed.
