base debug

This commit is contained in:
Wolfgang Hottgenroth
2018-05-24 14:28:07 +02:00
parent 9821d412ec
commit afbedcf7d3
4 changed files with 53 additions and 1 deletions

1
dist/main.js vendored
View File

@ -35,6 +35,7 @@ let masterTmpl;
let toc;
let cache = {};
app.engine('pag', (filePath, options, callback) => {
logger.info(JSON.stringify(options));
if (!(filePath in cache)) {
logger.info(`${filePath} not yet in cache`);
fs.readFile(filePath, (err, content) => {