question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

eleventy --watch ignores Pass-through File Copies

See original GitHub issue

Currently, Pass-through File Copies are ignored by eleventy --watch; thus, it doesn’t trigger a new build when a static file (e.g. a CSS file) changes.

Is this intended? If so, should it be changed? I think it should.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:17
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

6reactions
kleinfreundcommented, May 3, 2018

To be honest, this is so crucial for development that I consider this a bug, not a feature request.

2reactions
zachleatcommented, Mar 9, 2019

Hmm, for the record this was fixed for standard passthrough copy but appears to never have worked with --passthroughall specifically. Filed this new issue as #439.

As a workaround you can use Pass-through File Copy or Manual Pass-through Copy methods for now which should work fine. https://www.11ty.io/docs/copy/

Read more comments on GitHub >

github_iconTop Results From Across the Web

Passthrough File Copy — Eleventy
If we want to copy additional files that are not Eleventy templates, we use a feature called Passthrough File Copy to tell Eleventy...
Read more >
Ignore Files — Eleventy
eleventyignore file to your input directory or project root directory for a new line-separated list of files (or globs) that will not be...
Read more >
Watch and Serve — Eleventy
Watch JavaScript Dependencies; Add Your Own Watch Targets; Ignore Watching Files ... Eleventy will ignore files or folders listed in your .gitignore file...
Read more >
Passthrough File Copy—Eleventy, a simpler static site generator.
Passthrough File Copy —Eleventy, a simpler static site generator. ... not recognized by Eleventy as a template file extension, Eleventy will ignore the...
Read more >
Passthrough File Copy | Eleventy, a simpler static site generator.
If a file format is not recognized by Eleventy as a valid template file extension, Eleventy will ignore the file and not copy...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found