Skip to content
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

Dev server broken on Windows #3631

Open
kate-bagenzo opened this issue Jan 23, 2025 · 0 comments
Open

Dev server broken on Windows #3631

kate-bagenzo opened this issue Jan 23, 2025 · 0 comments

Comments

@kate-bagenzo
Copy link

Operating system

Windows 10

Eleventy

3.0.0

Describe the bug

The dev server is inconsistent and not logging most changes

. Sometimes it works for one or two edits, before requiring manual stopping and restarting. Deleting a file and re-adding it causes the server to crash, with what appears to be a Windows path normalization error:

Output conflict: multiple input files are writing to ./_site/posts/post1/index.html. Use distinct permalink values to resolve this conflict.
[11ty]   1. ./src\posts\post1.md
[11ty]   2. ./src/posts/post1.md (via DuplicatePermalinkOutputError)

Have encountered this while using 11ty base blog but can also reproduce with a blank site as described below. Clearing _site does not seem to have an effect. Does not appear on Linux.

log.txt

Reproduction steps

  1. Initialize a blank 11ty project with npm init -y and npm i @11ty/eleventy
  2. Create an index.md and a src/posts/test.md
  3. Start the dev server with npx @11ty/eleventy --serve
  4. Delete the file test.md
  5. Create the file again
  6. Dev server stops with attached error

Expected behavior

Dev server responds to changes, does not crash on reading deleted files

Reproduction URL

No response

Screenshots

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant