From bb3fdcd40fe3c297f01afcc446ab33bf0ba3d986 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sun, 17 Feb 2019 22:44:22 +0100 Subject: update --- gulpfile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gulpfile.js') diff --git a/gulpfile.js b/gulpfile.js index a50fe51..b13ee08 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -29,7 +29,7 @@ const md = new markdown({ .use(require('markdown-it-anchor')) .use(require('markdown-it-checkbox')) -nunjucks.configure('layouts', { +nunjucks.configure('source/layouts', { autoescape: false, noCache: true, }); @@ -142,11 +142,11 @@ const processMarkdown = (file) => { }; const watchers = (done) => { - gulp.watch('source/*.css', { + gulp.watch('source/assets/*.css', { awaitWriteFinish: true, }).on('change', gulp.series('css')); - gulp.watch('source/*.js', { + gulp.watch('source/assets/*.js', { awaitWriteFinish: true, }).on('change', gulp.series('js')); -- cgit v1.2.3