Closed Tregonia closed 4 years ago
Updating the markup of an .svg file does not trigger processing of the image tools.
.svg
$ npm run watch
fill
stroke
class
When the change to the files are saved, the watch process does not recognize the change, and does not update anything in the styleguide. As such, updates to icons requires a one-to-one build command for each icon update to review changes.
Updated the watch command to watch images and SVGs for triggers in the build. https://github.com/mediacurrent/theme_generator_8/pull/56
Thanks Tim! Merged.
Updating the markup of an
.svg
file does not trigger processing of the image tools.To reproduce
$ npm run watch
and keep an eye on itfill
,stroke
,class
, or any attributeWhen the change to the files are saved, the watch process does not recognize the change, and does not update anything in the styleguide. As such, updates to icons requires a one-to-one build command for each icon update to review changes.