-
Notifications
You must be signed in to change notification settings - Fork 752
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
BS won't reload the page if an SVG is included via <iframe>, <object>, <svg> #444
BS won't reload the page if an SVG is included via <iframe>, <object>, <svg> #444
Comments
Thanks for the detail @bfred-it - I'm looking into it. |
What would be the IDEAL markup that you'd want to work with? |
Do you mean which one is more likely to be used? |
Ok, either way, in so you'll still need to embed it somehow in an html file, but when you modify the SVG file, it will simply reload the page browser-sync start --server --files="*.svg,*.html" --no-inject-changes |
I was hoping for a non-optional reload/injection like it happens with |
I was trying to get BS to live reload an SVG file, but it didn't work, so I embedded it in an HTML file via
<iframe>
,<object>
and<svg><use>
.BS detects the SVG change but doesn't reload the page or the referenced file. The only tag that works is the
<img>
tag.I'm running BS from CLI:
SVG from Wikipedia and this is the HTML:
Screencast (1.5MB)
The text was updated successfully, but these errors were encountered: