Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

trick eleventy into watching generated files #3749

Merged
merged 3 commits into from Aug 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .eleventy.js
Expand Up @@ -269,6 +269,7 @@ module.exports = function (config) {
// ----------------------------------------------------------------------------
// https://www.11ty.io/docs/config/#data-deep-merge
config.setDataDeepMerge(true);
config.setUseGitIgnore(false);

// https://www.11ty.io/docs/config/#configuration-options
const targetLang = process.env.ELEVENTY_LANG || '';
Expand Down
4 changes: 3 additions & 1 deletion .eleventyignore
@@ -1 +1,3 @@
_drafts
_drafts
node_modules
.DS_Store
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,4 +1,4 @@
# Temporary files generated by builds
# Temporary files generated by builds that point to our CSS/JS entrypoints.
src/site/_data/resource*.json

# Logs
Expand Down
2 changes: 0 additions & 2 deletions src/styles/.gitignore

This file was deleted.