Consider API change
AndyOGo opened this issue · comments
Currently this works as a wrapper function.
But know I got the idea, that it could make more sense to split it into 2 plugins:
- incremental plugin (filters unmodified files)
- restore plugin (brings unmodified files back)
Especially regarding plugins like metalsmith-navigation
, this would need a cache too and a detection mechanism for renamed files, like it's done by metalsmith-pug
.
And at the moment this is not compatible with metalsmith's CLI and metalsmith.json
config file.