debug view engine paths

This commit is contained in:
Garrett Mills 2020-09-05 10:27:51 -05:00
parent 642319ef1f
commit c8d9f80579
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

View File

@ -180,6 +180,7 @@ export default class ViewEngine extends LifecycleUnit {
const partials_dir: unknown = this.config.get('app.views.partials_dir')
if ( String(partials_dir) ) {
const partials_path = this.template_path(String(partials_dir))
console.log({ partials_path, partials_dir })
this.logger.info(`Registering Handlebars partials from: ${partials_path}`)
for await ( const entry of fs.walk(partials_path) ) {