From 81605fff84e65d811fd0da9cdd03528bb66dac57 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Sun, 28 Jul 2024 17:30:27 +0800 Subject: [PATCH] Add bundle files to watch target --- eleventy.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/eleventy.config.js b/eleventy.config.js index 0aa2b23c..d2968ac0 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -12,6 +12,7 @@ export default function (eleventyConfig) { // Copy files eleventyConfig.addPassthroughCopy("./src/assets/"); eleventyConfig.addWatchTarget("./src/assets/"); + eleventyConfig.addWatchTarget("./src/_bundle/"); eleventyConfig.addPassthroughCopy({ "node_modules/@zachleat/details-utils/details-utils.js": "assets/js/details-utils.js", });