From c8d9f80579c24debb4c91e86f68eee0928ffa6e9 Mon Sep 17 00:00:00 2001 From: garrettmills Date: Sat, 5 Sep 2020 10:27:51 -0500 Subject: [PATCH] debug view engine paths --- lib/src/unit/ViewEngine.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/unit/ViewEngine.ts b/lib/src/unit/ViewEngine.ts index 81d4ae5..1ce78e6 100644 --- a/lib/src/unit/ViewEngine.ts +++ b/lib/src/unit/ViewEngine.ts @@ -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) ) {