You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I start the server with 'npm run local', there is no way to exit it cleanly. Ctrl-C doesn't work in the standard Windows terminal and in Git Bash it makes the whole console freeze. In both case, I need to force close them and the execution exits with code 1. Also, it seems like the server doesn't see any file updates. I have tried with --force_polling option, to no avail. Sometimes it will detect a change, but it's extremely rare and random. Note that I don't experience these issues on a vanilla Jekyll setup.
The text was updated successfully, but these errors were encountered:
I did not investigate much yet, but with a debugger it seems like the 'npm run local' command is generating multiple exceptions in nodejs. I'm using the following launch.json file in vscode in case someone would like to try (be sure the Caught Exceptions checkbox is checked too in the bottom Breakpoints section before running):
jpanneton
changed the title
Windows: Jekyll server not updating and crashing on exit
Jekyll server not updating and crashing on exit (Windows)
Nov 29, 2020
Whenever I start the server with 'npm run local', there is no way to exit it cleanly. Ctrl-C doesn't work in the standard Windows terminal and in Git Bash it makes the whole console freeze. In both case, I need to force close them and the execution exits with code 1. Also, it seems like the server doesn't see any file updates. I have tried with --force_polling option, to no avail. Sometimes it will detect a change, but it's extremely rare and random. Note that I don't experience these issues on a vanilla Jekyll setup.
The text was updated successfully, but these errors were encountered: