dreverri/gollum-site — pull request #24 by apazzolini (2012-08-08 15:52:36+00:00)
Title: Serve + Watch option should only generate what's necessary

This adds support for only generating the necessary file when using "gollum-site serve --watch".

For example, if Home.md changes, we don't need to regenerate the entire tree. (This will still generate everything if _Layout.md changes)

For my large gollum repository, full generation takes ~20 seconds - a single file is a fraction of a second.

Please note I am not a Ruby developer so I won't be offended if you think my code is bad! :)