Skipping file build for files that were not added/modified

My site it’s pretty big and everytime I want to push something live to a server, Middleman will go and re-create every single page. Is there a way to skip certain pages if they did not change? Something like rsync is doing while transferring files. It will only transfer those that needs to be updated.

Would be great if Middleman offer something similar.

Changelog describes this:

Incremental builds: --track-dependencies and --only-changed flags (#2220)

so if you read #2220 it looks like what you need. It’s in master yet, so you can’t use it right now in your normal distribution.

2 Likes