Skip to content

Livereload can't seem to distinguish between css files of the same name. #127

Description

@dustinpitcher

I've hunted around for a solution but haven't found one. I am working on a WordPress child theme. The parent theme is Storefront from woocommerce. Got everything set up and started developing and realized all of the file changes that require a page re-load were working fine, but CSS injection just wasn't working. It was making changes in the DOM though, so I found the file it was changing and it was the style.css from the parent theme. Because this file is loaded before the child theme's style.css, the changes weren't being displayed until I reloaded the browser manually.

dirty_bird_industries_ _custom_cerakote_and_firearm_sales

The only distinguishing factor I could think of that could help livereload know which one to inject is the directory the stylesheet is in. Or maybe there is a way to tell livereload which file to inject and I just can't find that option?

Any help would be appreciated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions