Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browsersync injects wrong files when multiple style.css are linked in the html #205

Open
kossahl opened this issue Nov 5, 2021 · 0 comments

Comments

@kossahl
Copy link

kossahl commented Nov 5, 2021

Bug Report

Expected Behavior

My style source is configured as
const styleSRC = './assets/scss/style.scss';

Thus I expect Browsersync to inject the wp-content/theme/my-theme/style.css (or style.min.css).

Actual Behavior

Instead Browsersync will inject wp-content/plugins/woocommerce/packages/woocommerce-blocks/build/style.css or any other file named the samed whichever is first linked in the html.

  1. node -v: 14.15.1

  2. npm -v: 6.14.8

  3. Operating system: Windows 10

  4. Browser and version (if relevant): tested in Firefox and Chrome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant