eleventy --watch ignores Pass-through File Copies

Created on 16 Mar 2018  路  8Comments  路  Source: 11ty/eleventy

Currently, Pass-through File Copies are ignored by eleventy --watch; thus, it doesn鈥檛 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.

bug

Most helpful comment

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

All 8 comments

Yeah 馃憤 from me!

Related #99

This repository is now using lodash style issue management for enhancements (see https://twitter.com/samselikoff/status/991395669016436736)

This means enhancement issues will now be closed instead of leaving them open. The enhancement backlog can be found here: https://github.com/11ty/eleventy/issues?utf8=%E2%9C%93&q=label%3Aneeds-votes+sort%3Areactions-%2B1-desc+

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

This is a great change, thanks for pushing back on it!

It seems this is still happening in 0.5.4.

Running eleventy --passthroughall --watch --input=src --output=build, won't update build/styles.css when src/styles.css changes

Any progress on this? CSS development is super slow when I have to constantly rebuild.

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/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

michrome picture michrome  路  3Comments

matt-auckland picture matt-auckland  路  3Comments

proog picture proog  路  3Comments

nilsmielke picture nilsmielke  路  4Comments

veleek picture veleek  路  3Comments