New files not processed in watch mode with non-default input directory

Author: AankhenCreated May 13, 2026Updated May 13, 2026
Labelsneeds-triagefeature: ⏱️ watch

Operating system

Windows 10

Eleventy

3.1.5

Describe the bug

With this configuration:

javascript
export default async function configure(eleventyConfig) {
  return {
    dir: { input: "source" },
  };
}

If I run eleventy --serve and add a new file, it shows a ‘File added’ line and reruns the build, but it doesn’t process the new file. I verified that this is unchanged with the latest canary and that it happens with any other directory name too, not just source.

Reproduction Source Code URL

https://github.com/Aankhen/eleventy-watch-issue

Screenshots

https://github.com/user-attachments/assets/c921c634-fde6-40c4-a761-13f60c765040