Skip to content

Only modify files that match the replace expression #70

Description

@bassmanpaul

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions