• I’m taking over a project that uses WordPress as its CMS. When I make a CSS change, I have to refresh my browser 4 to 10 times before my local dev site reflects the change. Obviously this is not good for my workflow. How can I address this issue? I’m using compass, but I’m definitely waiting until compass re-writes the files before I refresh the page the first time.

    This happens in both FF and Chrome, and it makes no difference whether I am logged into the WP site or not.

    It makes no difference whether I refresh by clicking the refresh button, whether I put my cursor at the end of the location bar and hit return, or whether I use CTRL+F5. All of these methods reload the page, of course, but I have to reload 4-10 times, every time, before the browser reflects CSS changes.

    This is almost certainly a WP issue, or in any case an issue specific to this project, as it’s not happening at all with my other non-WP projects.

    Please do not suggest clearing my browser cache. This is a workflow issue. I am not going to clear the browser cache every time I want to view a small CSS change.

    Active plugins:

    Advanced Custom Fields
    Category Order and Taxonomy Terms Order
    Post Thumbnail Editor
    Regenerate Thumbnails
    Rich Text Tags, Categories and Taxonomies
    WordPress Importer
    WordPress SEO

    Thanks!

    PS – It’s somehow specific to the theme. It’s not happening if I change the theme. Hmmm.

Viewing 1 replies (of 1 total)
  • Thread Starter webcomm

    (@webcomm)

    RESOLVED, sort of:
    It’s a compass issue. The terminal makes it look like compass is changing the CSS files right away, but it isn’t. It takes several seconds. I’ve not seen compass work so slowly before this.

Viewing 1 replies (of 1 total)
  • The topic ‘CSS changes require refreshing browser 4-10 times’ is closed to new replies.