christian-reichart / svg-chameleon

Easily modify stroke-widths and colors of your SVGs via CSS!
18 stars 4 forks source link

Watcher Option #24

Closed joachim-pryntad closed 2 years ago

joachim-pryntad commented 2 years ago

This is more a discussion, than a feature request. Would it make sense to have a --watch option in the CLI, so that the Sprite and CSS automatically get recreated if the source SVGs change?

christian-reichart commented 2 years ago

@joachim-pryntad I don't see a huge benefit in this, since icons in a project don't change too often. To replace the manual task of running the script you can also integrate it in your pipeline, so at least for deployments it can't be forgotten.

christian-reichart commented 2 years ago

Also npm-watch can be used for this