axa-ch / metalsmith-incremental

Faster incremental builds for MetalSmith

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  1. incremental plugin (filters unmodified files)
  2. 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.