Script stops on permission errors
Heather, Thank you for writing this module, it helped me a lot today.
I noticed that while running the script on a site with dynamic generated files (cache), some of them were not writable and then instead of skipping those files, it just stopped the script and you would have to either manually set the script to ignore them or change its permissions.
A simple error handler would be nice, you could always log it right next to the file, change its color to red and display the error next to it.
Thanks.
Feel free to use my module instead:
npm install -g niftylettuce-replace
Link to repo: https://github.com/niftylettuce/replace
How about submitting a pull request?
hey @GUIpsp I did once before but it was never pulled https://github.com/harthur/replace/pull/3