fix: Fix infinite loop in 11ty by adding 'eleventyConfig.watchIgnores.add("./src/_data/eventsJson.js");' to .eleventy.js

This commit is contained in:
2025-09-09 14:54:40 -05:00
parent 5477191d39
commit d357d6fec3

View File

@@ -3,6 +3,7 @@ module.exports = function (eleventyConfig) {
eleventyConfig.addPassthroughCopy({ "src/styles": "styles" }); eleventyConfig.addPassthroughCopy({ "src/styles": "styles" });
eleventyConfig.addPassthroughCopy({ "src/scripts": "scripts" }); eleventyConfig.addPassthroughCopy({ "src/scripts": "scripts" });
eleventyConfig.addPassthroughCopy({ "src/robots.txt": "robots.txt"}); eleventyConfig.addPassthroughCopy({ "src/robots.txt": "robots.txt"});
eleventyConfig.watchIgnores.add("./src/_data/eventsJson.js");
return { return {
dir: { dir: {
input: "src", input: "src",