11ty / eleventy

A simpler site generator. Transforms a directory of templates (of varying types) into HTML.
https://www.11ty.dev/
MIT License
17.18k stars 494 forks source link

npx eleventy stops to work #2237

Open sieberp opened 2 years ago

sieberp commented 2 years ago

While developing and having npx eleventy --watch --serve running after a certain time nothing seems to work anymore. When killing the process and trying to restart the the server again it gets stuck without doing anything further. This happend to me with the eleventy-from-scratch and the eleventy-sentry starter.

To Reproduce Steps to reproduce the behavior:

  1. run npx eleventy --watch --serve
  2. do some changes in the files, see that everything works
  3. wait or work for 10-20 minutes
  4. See that nothing changes on the site
  5. try to restart eleventy process
  6. see that it gets stuck in startup

Expected behavior Should keep running and compiling the files

Screenshots image You can see that nothing happens for more than a minute before killing the process

Environment:

Additional context restarting my machine makes it work again, sometimes running an npm install also seems to work

zachleat commented 2 years ago

Does npx @11ty/eleventy work?

sieberp commented 2 years ago

Just tried unfortunately it also doesn't work. Same behavior as before.

I was just doing a couple of changes in css classes on one of my layouts. Also didn't get any errors, just realise always that somehow it doesn't update anymore.