Skip to content

Eleventy "files watching" bug (1.0.1-canary.3) #2270

Open
@genemars

Description

@genemars

Describe the bug
While it correctly copies and builds files during startup, Eleventy doesn't watch .md/.liquid files in a given folder if a glob pattern containing that folder (but different file extensions) is used as addPassthroughCopy.

To Reproduce
Steps to reproduce the behavior:
1, create a folder called pages inside the input folder
2. add eleventyConfig.addPassthroughCopy("pages/**/*.webp") to .eleventy.js
3. create a test.md file inside the pages/docs/ folder
4. start eleventy npx @11ty/eleventy --serve
5. try editing the pages/docs/test.md file

Expected behavior
Should rebuild the test.md file if modified.

Environment:

  • OS and Version: Linux
  • Eleventy Version: 1.0.1-canary.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: --serve restartChanges to projects shouldn’t need to restart dev serverbug: dependencyA problem in one of Eleventy’s dependencies

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions