Override the get_template method on the Environment and see which templates are summoned.I write my own static site generator, and I do incremental rebuilds when a source file changes. Currently I rebuild the entire website whenever a template changes, which is a lot of redundant work.