-
-
Notifications
You must be signed in to change notification settings - Fork 471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
corrupted output dir with addPassthroughCopy while --serve --incremental running #2182
Comments
Same here. eleventy --serve --incremental --config=.eleventy.cjs eleventyConfig.addPassthroughCopy('docs/bundle.{js,map,ts}');
eleventyConfig.addPassthroughCopy('docs/demo.{js,map,ts}');
eleventyConfig.addPassthroughCopy('docs/main.mjs');
eleventyConfig.addPassthroughCopy('brand/**/*');
const repoRoot = join(__dirname, '..', '..');
// Copy all component and core files to _site
const files = Object.fromEntries([
...fs.readdirSync(join(repoRoot, 'elements')).map(dir => [
`elements/${dir}`,
`components/${dir.replace('pfe-', '')}`,
]),
...fs.readdirSync(join(repoRoot, 'core')).map(dir => [
`core/${dir}`,
`core/${dir.replace('pfe-', '')}`,
]),
]);
eleventyConfig.addPassthroughCopy(files); The {
'elements/pfe-accordion': 'components/accordion',
'elements/pfe-autocomplete': 'components/autocomplete',
'elements/pfe-etc': 'components/etc',
'core/pfe-core': 'core/core',
'core/pfe-sass': 'core/sass',
'core/pfe-styles': 'core/styles'
} First run is fine, Then, if I save |
docs: update README docs: update docs site docs: update docs demo for e2e tests test(docs): configure dev server for e2e tests docs: fix cem filters docs: build demos without shadow roots docs: rearrange docs url docs: improve dev SPA index docs: add demo layout docs: better import maps and demo template docs: update FOUC guide and demo pages docs: use new autoreveal docs: use nicer demo menu docs: update bundle and plugins docs: add kitchen-sink demo docs: fix pfe-assets plugin docs: load red hat font locally in kitchen sink docs: update red hat font docs: improve kitchen sink docs: fix build script docs: improve dev SPA and demo pages docs: load assets in demos docs: copy demo assets to docs docs: better docs build system docs: fix demo pages docs: fix component listing docs: sort docs pages docs: delegate focus to html-include-element docs: Make api-viewer more robust by adding z-index and background fix(docs): workaround for 11ty bug see 11ty/eleventy#2182 docs: document `{{version}}` in element classes docs: apply `{{version}}` in docs bundle docs: combine old changelogs docs: move favicon docs: dev guide to project references docs: improve styles on element pages docs: use pfe-styles Co-Authored-By: Steven Spriggs <steven.spriggs@gmail.com> docs: track performance in dev SPA docs: a11y fixes for dev SPA
- update README - combine old changelogs **Docs Site** - update docs site - fix cem filters - rearrange docs url - update FOUC guide and demo pages - use new autoreveal - use nicer demo menu - update red hat font - fix pfe-assets plugin - better docs build system - document `{{version}}` in element classes - apply `{{version}}` in docs bundle - sort docs pages - move favicon - dev guide to project references - improve styles on element pages - use pfe-styles **Dev SPA** - add development SPA (`npm start`) - improve dev SPA index - improve dev SPA and demo pages - track performance in dev SPA - a11y fixes for dev SPA - update bundle and plugins - delegate focus to html-include-element - Make api-viewer more robust by adding z-index and background - workaround for 11ty bug. see 11ty/eleventy#2182 **Visual Regression Demos** - update docs demo for e2e tests - configure dev server for e2e tests - add demo layout - better import maps and demo template - add kitchen-sink demo - load assets in demos - copy demo assets to docs - fix demo pages Co-Authored-By: Steven Spriggs <steven.spriggs@gmail.com>
- update README - combine old changelogs **Docs Site** - update docs site - fix cem filters - rearrange docs url - update FOUC guide and demo pages - use new autoreveal - use nicer demo menu - update red hat font - fix pfe-assets plugin - better docs build system - document `{{version}}` in element classes - apply `{{version}}` in docs bundle - sort docs pages - move favicon - dev guide to project references - improve styles on element pages - use pfe-styles **Dev SPA** - add development SPA (`npm start`) - improve dev SPA index - improve dev SPA and demo pages - track performance in dev SPA - a11y fixes for dev SPA - update bundle and plugins - delegate focus to html-include-element - Make api-viewer more robust by adding z-index and background - workaround for 11ty bug. see 11ty/eleventy#2182 **Visual Regression Demos** - update docs demo for e2e tests - configure dev server for e2e tests - add demo layout - better import maps and demo template - add kitchen-sink demo - load assets in demos - copy demo assets to docs - fix demo pages Co-Authored-By: Steven Spriggs <steven.spriggs@gmail.com>
- update README - combine old changelogs **Docs Site** - update docs site - fix cem filters - rearrange docs url - update FOUC guide and demo pages - use new autoreveal - use nicer demo menu - update red hat font - fix pfe-assets plugin - better docs build system - document `{{version}}` in element classes - apply `{{version}}` in docs bundle - sort docs pages - move favicon - dev guide to project references - improve styles on element pages - use pfe-styles **Dev SPA** - add development SPA (`npm start`) - improve dev SPA index - improve dev SPA and demo pages - track performance in dev SPA - a11y fixes for dev SPA - update bundle and plugins - delegate focus to html-include-element - Make api-viewer more robust by adding z-index and background - workaround for 11ty bug. see 11ty/eleventy#2182 **Visual Regression Demos** - update docs demo for e2e tests - configure dev server for e2e tests - add demo layout - better import maps and demo template - add kitchen-sink demo - load assets in demos - copy demo assets to docs - fix demo pages Co-Authored-By: Steven Spriggs <steven.spriggs@gmail.com>
- update README - combine old changelogs **Docs Site** - update docs site - fix cem filters - rearrange docs url - update FOUC guide and demo pages - use new autoreveal - use nicer demo menu - update red hat font - fix pfe-assets plugin - better docs build system - document `{{version}}` in element classes - apply `{{version}}` in docs bundle - sort docs pages - move favicon - dev guide to project references - improve styles on element pages - use pfe-styles **Dev SPA** - add development SPA (`npm start`) - improve dev SPA index - improve dev SPA and demo pages - track performance in dev SPA - a11y fixes for dev SPA - update bundle and plugins - delegate focus to html-include-element - Make api-viewer more robust by adding z-index and background - workaround for 11ty bug. see 11ty/eleventy#2182 **Visual Regression Demos** - update docs demo for e2e tests - configure dev server for e2e tests - add demo layout - better import maps and demo template - add kitchen-sink demo - load assets in demos - copy demo assets to docs - fix demo pages Co-Authored-By: Steven Spriggs <steven.spriggs@gmail.com>
- update README - combine old changelogs **Docs Site** - update docs site - fix cem filters - rearrange docs url - update FOUC guide and demo pages - use new autoreveal - use nicer demo menu - update red hat font - fix pfe-assets plugin - better docs build system - document `{{version}}` in element classes - apply `{{version}}` in docs bundle - sort docs pages - move favicon - dev guide to project references - improve styles on element pages - use pfe-styles **Dev SPA** - add development SPA (`npm start`) - improve dev SPA index - improve dev SPA and demo pages - track performance in dev SPA - a11y fixes for dev SPA - update bundle and plugins - delegate focus to html-include-element - Make api-viewer more robust by adding z-index and background - workaround for 11ty bug. see 11ty/eleventy#2182 **Visual Regression Demos** - update docs demo for e2e tests - configure dev server for e2e tests - add demo layout - better import maps and demo template - add kitchen-sink demo - load assets in demos - copy demo assets to docs - fix demo pages Co-Authored-By: Steven Spriggs <steven.spriggs@gmail.com>
- update README - combine old changelogs **Docs Site** - update docs site - fix cem filters - rearrange docs url - update FOUC guide and demo pages - use new autoreveal - use nicer demo menu - update red hat font - fix pfe-assets plugin - better docs build system - document `{{version}}` in element classes - apply `{{version}}` in docs bundle - sort docs pages - move favicon - dev guide to project references - improve styles on element pages - use pfe-styles **Dev SPA** - add development SPA (`npm start`) - improve dev SPA index - improve dev SPA and demo pages - track performance in dev SPA - a11y fixes for dev SPA - update bundle and plugins - delegate focus to html-include-element - Make api-viewer more robust by adding z-index and background - workaround for 11ty bug. see 11ty/eleventy#2182 **Visual Regression Demos** - update docs demo for e2e tests - configure dev server for e2e tests - add demo layout - better import maps and demo template - add kitchen-sink demo - load assets in demos - copy demo assets to docs - fix demo pages Co-Authored-By: Steven Spriggs <steven.spriggs@gmail.com>
- update README - combine old changelogs **Docs Site** - update docs site - fix cem filters - rearrange docs url - update FOUC guide and demo pages - use new autoreveal - use nicer demo menu - update red hat font - fix pfe-assets plugin - better docs build system - document `{{version}}` in element classes - apply `{{version}}` in docs bundle - sort docs pages - move favicon - dev guide to project references - improve styles on element pages - use pfe-styles **Dev SPA** - add development SPA (`npm start`) - improve dev SPA index - improve dev SPA and demo pages - track performance in dev SPA - a11y fixes for dev SPA - update bundle and plugins - delegate focus to html-include-element - Make api-viewer more robust by adding z-index and background - workaround for 11ty bug. see 11ty/eleventy#2182 **Visual Regression Demos** - update docs demo for e2e tests - configure dev server for e2e tests - add demo layout - better import maps and demo template - add kitchen-sink demo - load assets in demos - copy demo assets to docs - fix demo pages Co-Authored-By: Steven Spriggs <steven.spriggs@gmail.com>
author Benny Powers <web@bennypowers.com> 1638302302 +0200 committer Benny Powers <bennyp@redhat.com> 1643902752 +0200 docs: update docs - update README - combine old changelogs **Docs Site** - update docs site - fix cem filters - rearrange docs url - update FOUC guide and demo pages - use new autoreveal - use nicer demo menu - update red hat font - fix pfe-assets plugin - better docs build system - document `{{version}}` in element classes - apply `{{version}}` in docs bundle - sort docs pages - move favicon - dev guide to project references - improve styles on element pages - use pfe-styles - move todo generator to docs - add heading anchors - update react article - add blog **Dev SPA** - add development SPA (`npm start`) - improve dev SPA index - improve dev SPA and demo pages - track performance in dev SPA - a11y fixes for dev SPA - update bundle and plugins - delegate focus to html-include-element - Make api-viewer more robust by adding z-index and background - workaround for 11ty bug. see 11ty/eleventy#2182 **Visual Regression Demos** - update docs demo for e2e tests - configure dev server for e2e tests - add demo layout - better import maps and demo template - add kitchen-sink demo - load assets in demos - copy demo assets to docs - fix demo pages Co-Authored-By: Steven Spriggs <steven.spriggs@gmail.com>
- update README - combine old changelogs **Docs Site** - update docs site - fix cem filters - rearrange docs url - update FOUC guide and demo pages - use new autoreveal - use nicer demo menu - update red hat font - fix pfe-assets plugin - better docs build system - document `{{version}}` in element classes - apply `{{version}}` in docs bundle - sort docs pages - move favicon - dev guide to project references - improve styles on element pages - use pfe-styles - move todo generator to docs - add heading anchors - update react article - add blog **Dev SPA** - add development SPA (`npm start`) - improve dev SPA index - improve dev SPA and demo pages - track performance in dev SPA - a11y fixes for dev SPA - update bundle and plugins - delegate focus to html-include-element - Make api-viewer more robust by adding z-index and background - workaround for 11ty bug. see 11ty/eleventy#2182 **Visual Regression Demos** - update docs demo for e2e tests - configure dev server for e2e tests - add demo layout - better import maps and demo template - add kitchen-sink demo - load assets in demos - copy demo assets to docs - fix demo pages Co-Authored-By: Steven Spriggs <steven.spriggs@gmail.com>
- update README - combine old changelogs **Docs Site** - update docs site - fix cem filters - rearrange docs url - update FOUC guide and demo pages - use new autoreveal - use nicer demo menu - update red hat font - fix pfe-assets plugin - better docs build system - document `{{version}}` in element classes - apply `{{version}}` in docs bundle - sort docs pages - move favicon - dev guide to project references - improve styles on element pages - use pfe-styles - move todo generator to docs - add heading anchors - update react article - add blog **Dev SPA** - add development SPA (`npm start`) - improve dev SPA index - improve dev SPA and demo pages - track performance in dev SPA - a11y fixes for dev SPA - update bundle and plugins - delegate focus to html-include-element - Make api-viewer more robust by adding z-index and background - workaround for 11ty bug. see 11ty/eleventy#2182 **Visual Regression Demos** - update docs demo for e2e tests - configure dev server for e2e tests - add demo layout - better import maps and demo template - add kitchen-sink demo - load assets in demos - copy demo assets to docs - fix demo pages Co-Authored-By: Steven Spriggs <steven.spriggs@gmail.com>
- update README - combine old changelogs **Docs Site** - update docs site - fix cem filters - rearrange docs url - update FOUC guide and demo pages - use new autoreveal - use nicer demo menu - update red hat font - fix pfe-assets plugin - better docs build system - document `{{version}}` in element classes - apply `{{version}}` in docs bundle - sort docs pages - move favicon - dev guide to project references - improve styles on element pages - use pfe-styles - move todo generator to docs - add heading anchors - update react article - add blog **Dev SPA** - add development SPA (`npm start`) - improve dev SPA index - improve dev SPA and demo pages - track performance in dev SPA - a11y fixes for dev SPA - update bundle and plugins - delegate focus to html-include-element - Make api-viewer more robust by adding z-index and background - workaround for 11ty bug. see 11ty/eleventy#2182 **Visual Regression Demos** - update docs demo for e2e tests - configure dev server for e2e tests - add demo layout - better import maps and demo template - add kitchen-sink demo - load assets in demos - copy demo assets to docs - fix demo pages Co-Authored-By: Steven Spriggs <steven.spriggs@gmail.com>
- update README - combine old changelogs **Docs Site** - update docs site - fix cem filters - rearrange docs url - update FOUC guide and demo pages - use new autoreveal - use nicer demo menu - update red hat font - fix pfe-assets plugin - better docs build system - document `{{version}}` in element classes - apply `{{version}}` in docs bundle - sort docs pages - move favicon - dev guide to project references - improve styles on element pages - use pfe-styles - move todo generator to docs - add heading anchors - update react article - add blog **Dev SPA** - add development SPA (`npm start`) - improve dev SPA index - improve dev SPA and demo pages - track performance in dev SPA - a11y fixes for dev SPA - update bundle and plugins - delegate focus to html-include-element - Make api-viewer more robust by adding z-index and background - workaround for 11ty bug. see 11ty/eleventy#2182 **Visual Regression Demos** - update docs demo for e2e tests - configure dev server for e2e tests - add demo layout - better import maps and demo template - add kitchen-sink demo - load assets in demos - copy demo assets to docs - fix demo pages Co-Authored-By: Steven Spriggs <steven.spriggs@gmail.com>
- update README - combine old changelogs **Docs Site** - update docs site - fix cem filters - rearrange docs url - update FOUC guide and demo pages - use new autoreveal - use nicer demo menu - update red hat font - fix pfe-assets plugin - better docs build system - document `{{version}}` in element classes - apply `{{version}}` in docs bundle - sort docs pages - move favicon - dev guide to project references - improve styles on element pages - use pfe-styles - move todo generator to docs - add heading anchors - update react article - add blog **Dev SPA** - add development SPA (`npm start`) - improve dev SPA index - improve dev SPA and demo pages - track performance in dev SPA - a11y fixes for dev SPA - update bundle and plugins - delegate focus to html-include-element - Make api-viewer more robust by adding z-index and background - workaround for 11ty bug. see 11ty/eleventy#2182 **Visual Regression Demos** - update docs demo for e2e tests - configure dev server for e2e tests - add demo layout - better import maps and demo template - add kitchen-sink demo - load assets in demos - copy demo assets to docs - fix demo pages Co-Authored-By: Steven Spriggs <steven.spriggs@gmail.com>
- update README - combine old changelogs **Docs Site** - update docs site - fix cem filters - rearrange docs url - update FOUC guide and demo pages - use new autoreveal - use nicer demo menu - update red hat font - fix pfe-assets plugin - better docs build system - document `{{version}}` in element classes - apply `{{version}}` in docs bundle - sort docs pages - move favicon - dev guide to project references - improve styles on element pages - use pfe-styles - move todo generator to docs - add heading anchors - update react article - add blog **Dev SPA** - add development SPA (`npm start`) - improve dev SPA index - improve dev SPA and demo pages - track performance in dev SPA - a11y fixes for dev SPA - update bundle and plugins - delegate focus to html-include-element - Make api-viewer more robust by adding z-index and background - workaround for 11ty bug. see 11ty/eleventy#2182 **Visual Regression Demos** - update docs demo for e2e tests - configure dev server for e2e tests - add demo layout - better import maps and demo template - add kitchen-sink demo - load assets in demos - copy demo assets to docs - fix demo pages Co-Authored-By: Steven Spriggs <steven.spriggs@gmail.com>
- update README - combine old changelogs **Docs Site** - update docs site - fix cem filters - rearrange docs url - update FOUC guide and demo pages - use new autoreveal - use nicer demo menu - update red hat font - fix pfe-assets plugin - better docs build system - document `{{version}}` in element classes - apply `{{version}}` in docs bundle - sort docs pages - move favicon - dev guide to project references - improve styles on element pages - use pfe-styles - move todo generator to docs - add heading anchors - update react article - add blog **Dev SPA** - add development SPA (`npm start`) - improve dev SPA index - improve dev SPA and demo pages - track performance in dev SPA - a11y fixes for dev SPA - update bundle and plugins - delegate focus to html-include-element - Make api-viewer more robust by adding z-index and background - workaround for 11ty bug. see 11ty/eleventy#2182 **Visual Regression Demos** - update docs demo for e2e tests - configure dev server for e2e tests - add demo layout - better import maps and demo template - add kitchen-sink demo - load assets in demos - copy demo assets to docs - fix demo pages Co-Authored-By: Steven Spriggs <steven.spriggs@gmail.com>
Confirmed on linux. Related #108 |
- update README - combine old changelogs **Docs Site** - update docs site - fix cem filters - rearrange docs url - update FOUC guide and demo pages - use new autoreveal - use nicer demo menu - update red hat font - fix pfe-assets plugin - better docs build system - document `{{version}}` in element classes - apply `{{version}}` in docs bundle - sort docs pages - move favicon - dev guide to project references - improve styles on element pages - use pfe-styles - move todo generator to docs - add heading anchors - update react article - add blog **Dev SPA** - add development SPA (`npm start`) - improve dev SPA index - improve dev SPA and demo pages - track performance in dev SPA - a11y fixes for dev SPA - update bundle and plugins - delegate focus to html-include-element - Make api-viewer more robust by adding z-index and background - workaround for 11ty bug. see 11ty/eleventy#2182 **Visual Regression Demos** - update docs demo for e2e tests - configure dev server for e2e tests - add demo layout - better import maps and demo template - add kitchen-sink demo - load assets in demos - copy demo assets to docs - fix demo pages Co-Authored-By: Steven Spriggs <steven.spriggs@gmail.com>
- update README - combine old changelogs **Docs Site** - update docs site - fix cem filters - rearrange docs url - update FOUC guide and demo pages - use new autoreveal - use nicer demo menu - update red hat font - fix pfe-assets plugin - better docs build system - document `{{version}}` in element classes - apply `{{version}}` in docs bundle - sort docs pages - move favicon - dev guide to project references - improve styles on element pages - use pfe-styles - move todo generator to docs - add heading anchors - update react article - add blog **Dev SPA** - add development SPA (`npm start`) - improve dev SPA index - improve dev SPA and demo pages - track performance in dev SPA - a11y fixes for dev SPA - update bundle and plugins - delegate focus to html-include-element - Make api-viewer more robust by adding z-index and background - workaround for 11ty bug. see 11ty/eleventy#2182 **Visual Regression Demos** - update docs demo for e2e tests - configure dev server for e2e tests - add demo layout - better import maps and demo template - add kitchen-sink demo - load assets in demos - copy demo assets to docs - fix demo pages Co-Authored-By: Steven Spriggs <steven.spriggs@gmail.com>
- update README - combine old changelogs **Docs Site** - update docs site - fix cem filters - rearrange docs url - update FOUC guide and demo pages - use new autoreveal - use nicer demo menu - update red hat font - fix pfe-assets plugin - better docs build system - document `{{version}}` in element classes - apply `{{version}}` in docs bundle - sort docs pages - move favicon - dev guide to project references - improve styles on element pages - use pfe-styles - move todo generator to docs - add heading anchors - update react article - add blog **Dev SPA** - add development SPA (`npm start`) - improve dev SPA index - improve dev SPA and demo pages - track performance in dev SPA - a11y fixes for dev SPA - update bundle and plugins - delegate focus to html-include-element - Make api-viewer more robust by adding z-index and background - workaround for 11ty bug. see 11ty/eleventy#2182 **Visual Regression Demos** - update docs demo for e2e tests - configure dev server for e2e tests - add demo layout - better import maps and demo template - add kitchen-sink demo - load assets in demos - copy demo assets to docs - fix demo pages Co-Authored-By: Steven Spriggs <steven.spriggs@gmail.com>
Solved in with Eleventy 1.0.1 and 2.0.0-canary.4. |
it's still has such bug (version 2.0.1) |
I have a ‘assest’ directory with multiple sub folders, which are configured with a addPassthroughCopy command;
eleventyConfig.addPassthroughCopy({ "assets/styles": "styles" });
eleventyConfig.addPassthroughCopy({ "assets/scripts": "scripts" });
eleventyConfig.addPassthroughCopy({ "assets/root": "/" });
eleventyConfig.addPassthroughCopy({ "assets/images": "images" });
When eleventy is running in –-serve --incremental mode and a jpg file is added to the ‘assets/images’ dir, eleventy sees that the file is added.
In the _site directory a file with the name ‘images’ is created!!?? The preview of this file shows the actual picture which was added. The directory _site/images isn’t available anymore.
After this i must stop eleventy, delete the corrupted file and restart eleventy to regenerate the missing directory.
Currently I’am running v1.0.0, but I saw this problem first in the last days of December, when I was running the latetst beta version of that time.
When only running the --serve mode, the files are nicely added/changed in the output directory.
Note: when I edit/add a file in the ‘assets/root’ folder, the entire _site directory is corrupted!!
Environment:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: