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

Can't stop dev server #3623

Open
joshdavham opened this issue Jan 18, 2025 · 1 comment
Open

Can't stop dev server #3623

joshdavham opened this issue Jan 18, 2025 · 1 comment

Comments

@joshdavham
Copy link

Operating system

macOS Sequoia 15.1.1

Eleventy

3.0.0

Describe the bug

I'm having trouble stopping the dev server. Most of the time,ctrl-c will not work.

Reproduction steps

  1. Start a live dev server with npx @11ty/eleventy --serve
  2. Open http://localhost:8080/
  3. Go back to terminal and enter ctrl-c (hold control and press c)

Expected behavior

I expect the dev server to close as soon as I enter ctrl-c.

Interestingly, if I start the live server and then enter ctrl-c immendiately after without navigating to http://localhost:8080/, it works just fine...

Reproduction URL

https://github.com/joshdavham/joshdavham-website

Screenshots

Image Note that this is after I open the link to the site. If I don't open the link, then `ctrl-c` works just fine and it closes.
@nhoizey
Copy link
Contributor

nhoizey commented Jan 18, 2025

I think this is a duplicate of #3517

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

2 participants