Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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.

@nathanhleung

This comment has been minimized.

Copy link

@nathanhleung nathanhleung commented Aug 10, 2015

Thanks!

@suvozit

This comment has been minimized.

Copy link

@suvozit suvozit commented Apr 11, 2020

Try this!

ps aux |grep jekyll |awk '{print $2}' | xargs kill -9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment