dotcomboom / AutoSite

Desktop static site generator
http://autosite.somnolescent.net
MIT License
31 stars 2 forks source link

Smarter sanitary build #72

Open dotcomboom opened 2 years ago

dotcomboom commented 2 years ago

Current behavior, sanitary build warns user, then moves the whole out directory to recycle bin and starts from scratch.

Alternative, intelligently tell what files need to be updated and do that, somehow

dotcomboom commented 2 years ago

New idea totally lifted from iWeb: Sanitary Build being named "Build Entire Site", Build being "Build Site Changes". Or some wording like that would be easier to understand. (changed Publish to Build from the iWeb wording, because it's technically not being 'published'.)

dotcomboom commented 11 months ago

Find a way to compute hashes for files and then compare all the includes to the files in the out folder that way, rather than comparing I think dates?