Skip to content

Instantly share code, notes, and snippets.

@judas-christ
Last active February 15, 2017 08:54
Show Gist options
  • Save judas-christ/9402f60f42aeb60ab5058f44f1e097a8 to your computer and use it in GitHub Desktop.
Save judas-christ/9402f60f42aeb60ab5058f44f1e097a8 to your computer and use it in GitHub Desktop.
Run gulp watch and jekyll serve in parallell, kill both with the stroke of a key. Or two.
#!/bin/bash
trap "kill $GULPPID && trap - SIGINT" SIGINT && gulp & GULPPID=$! & bundle exec jekyll serve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment