eleventy
eleventy copied to clipboard
Not able to kill the process during build
Operating system
macOS Sonoma 14.4.1
Eleventy
3.0.0
Describe the bug
While Eleventy is building the site, it's not possible to kill the process with Ctrl-C. Only after the build is complete, will the Ctrl-C take effect and Eleventy exits with code 1.
With a large site where build times are in the tens of seconds, this can get frustrating, especially when you already know the build will fail (e.g. because of missing npm dependencies when switching git branches).
Reproduction steps
- Start a build of a large site
- Wait until the templates start processing (i.e. after any async data has been fetched)
- Try to kill the process with
Ctrl-C - The process will not die until after the build is complete
Expected behavior
The build should be interrupted and the process should exit instantly.
Reproduction URL
No response
Screenshots
No response