-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
Operating system
Windows 10
Eleventy
2.0.1
Describe the bug
If you run 11ty in "serve" mode and change a partial file, a rebuild is triggered but the changed partial is not used.
Note that several comments at the bottom of 11ty/eleventy#596 describe similar issues (both MacOS and Windows).
Reproduction steps
This dead-simple project demonstrates the issue. From its README:
npm installnpx eleventy --serve- Browse to
localhost:8080-- you should see "Hello Bug!" - Change
src/_includes/world.hbsto contain "World!" instead of "Bug!" -- a rebuild is triggered and the page is reloaded, but it still says "Hello Bug!" - Restart
npx eleventy --serveand reload the page -- now you correctly see "Hello World!"
Expected behavior
After changing "Bug!" to "World!" the web page should show "Hello World!" without needing to restart the server.
Reproduction URL
https://github.com/RickMohr/eleventyBug
Screenshots
No response
Reactions are currently unavailable