Skip to content

Instantly share code, notes, and snippets.

@piharpi
Forked from lukehedger/kill-jekyll.md
Created March 17, 2019 12:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save piharpi/fc6cecdcec40c92c7621dfe36eedbb2d to your computer and use it in GitHub Desktop.
Save piharpi/fc6cecdcec40c92c7621dfe36eedbb2d 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