Closed apazzolini closed 3 years ago
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! :)
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! :)