Skip to content

Instantly share code, notes, and snippets.

@hsanchez
Forked from lukehedger/kill-jekyll.md
Last active August 29, 2015 14:14
Show Gist options
  • Save hsanchez/e425fd044f6f20008daf to your computer and use it in GitHub Desktop.
Save hsanchez/e425fd044f6f20008daf to your computer and use it in GitHub Desktop.

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