From what I can tell, the gulp-replace modifies all files regardless of whether they match the replace condition or not.
My scenario is that gulp-replace correctly updates my files but also my fonts, images and text files that are Unicode format. The skipBinary option successfully skips the fonts & images but my .txt files that have unicode characters in them are still left broken.
Some other skip options would be nice, but surely it would be better to skip modifying files unless they actually have a match?
Thoughts?
P.S. Thanks for providing a very useful module :)
From what I can tell, the
gulp-replacemodifies all files regardless of whether they match the replace condition or not.My scenario is that
gulp-replacecorrectly updates my files but also myfonts,imagesandtextfiles that are Unicode format. TheskipBinaryoption successfully skips thefonts&imagesbut my.txtfiles that have unicode characters in them are still left broken.Some other skip options would be nice, but surely it would be better to skip modifying files unless they actually have a match?
Thoughts?
P.S. Thanks for providing a very useful module :)