Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Vision never reloads/recompiles partials #110
If we use the setting
But, helpers and partials are only ever read & registered on startup, so (for instance) given a handlebars template that makes heavy use of partials to break apart the view, changes to those partials will only appear after a full server restart.
Seems like it'd be expensive to reload every single partial & helper on every
Another idea would be to scan a template for partial names, and selectively recompile and reregister just those partials if caching is turned off.
I added helpers loading as well because those are normally light-weight, and like you guys said, this is only intended for development.