Skip to content

Commit 1d6423b

Browse files
committed
Add support to live reload SVG images
1 parent 00c2ced commit 1d6423b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/public/livereload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ Options.extract = function(document) {
497497
}
498498
}
499499
if (options.liveImg) {
500-
if (path.match(/\.(jpe?g|png|gif)$/i)) {
500+
if (path.match(/\.(jpe?g|png|gif|svg)$/i)) {
501501
this.reloadImages(path);
502502
return;
503503
}

0 commit comments

Comments
 (0)