Open cawa-93 opened 3 years ago
Maybe duplicate of this https://github.com/11ty/eleventy/issues/1312
I tried this out but updated to version 2.0.0-canary.24
, and the problem still persists.
I'm also having this issue! Doesn't seem to be a duplicate of https://github.com/11ty/eleventy/issues/1312 since that one has been closed but this problem persists.
This is almost certainly solved by the new dependency mapper in 3.0 but we can circle back after 3.0 has shipped
Describe the bug If you make changes in javascript files that are import by the
required
in layout, these changes are not displayed until the build process is restarted.To Reproduce Steps to reproduce the behavior:
npm i && npm start
_includes/test.11ty.js
Expected behavior Changes in the files that are attached inside the template should result in a change in the resulting html. How it works if you change the file
_includes/base.11ty.js
directly.Environment:
Additional context In a real project, such a connection is used to combine several small parts into one large template (Live code)