WPGulp
WPGulp copied to clipboard
Browsersync injects wrong files when multiple style.css are linked in the html
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.
-
node -v
: 14.15.1 -
npm -v
: 6.14.8 -
Operating system: Windows 10
-
Browser and version (if relevant): tested in Firefox and Chrome