-
Notifications
You must be signed in to change notification settings - Fork 751
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
Injection of css files not working in v2.18.11 #1379
Comments
Exact same thing happens with me with the same config, only I use Gulp as well. This is a deal breaker for this version. |
Fixed in v2.18.12, thanks for the report. |
Good job! keep it up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue details
I'm using
bs.reload('*.css')
to trigger the reload of css files. This worked fine with v2.18.8 of browser-sync, but v2.18.11 only updates the first link tag on the site. Switching back to v2.18.8 fixes the issue. I haven't tested v2.18.9 and v2.18.10, yet.bs.reload()
works fine and reloads the whole page.Another edge case: Browser-sync duplicates the link tag, when the first link tag in the head is a favicon. 1 favicon => First reload => 2 favicons => Another reload => 4 favicons => …
Here's a video of the favicon duplication: https://cl.ly/kVMU
Steps to reproduce/test case
Call
bs.reload('*.css')
with multiple css files in the head:Please specify which version of Browsersync, node and npm you're running
Affected platforms
Browsersync use-case
for all other use-cases, (gulp, grunt etc), please show us exactly how you're using Browsersync
https://github.com/electerious/Rosid/blob/master/src/deliver.js#L73
The text was updated successfully, but these errors were encountered: