Skip to content

Instantly share code, notes, and snippets.

@niilante
Forked from lukehedger/kill-jekyll.md
Created July 14, 2021 10:38
Show Gist options
  • Save niilante/2df4ccf5886839482efb6f1b1422d9b2 to your computer and use it in GitHub Desktop.
Save niilante/2df4ccf5886839482efb6f1b1422d9b2 to your computer and use it in GitHub Desktop.
Kill Jekyll server

Stopping a Jekyll server with ctrl-z can cause issues as the process is not stopped fully. To kill it:

$ lsof -wni tcp:4000
$ kill -9 <PID of process>

And next time, use crtl-c to stop.

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