Skip to content

Commit 2161025

Browse files
committed
watch articles folder
1 parent 85f824e commit 2161025

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

eleventy.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export default function (eleventyConfig) {
88
eleventyConfig.addGlobalData('windowTitle', 'cberes');
99
eleventyConfig.addGlobalData('siteTitle', 'Corey Beres');
1010

11+
// 👀
12+
eleventyConfig.addWatchTarget("./articles/");
13+
1114
// Copy files
1215
eleventyConfig.addPassthroughCopy({assets: '/'});
1316
eleventyConfig.addPassthroughCopy('articles/**/*.png');

0 commit comments

Comments
 (0)