eleventy --watch ignores Pass-through File Copies
See original GitHub issueCurrently, 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:
- Created 6 years ago
- Reactions:17
- Comments:8 (7 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
To be honest, this is so crucial for development that I consider this a bug, not a feature request.
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/