Skip to content

Instantly share code, notes, and snippets.

View HofiOne's full-sized avatar

Hofi HofiOne

View GitHub Profile
@HofiOne
HofiOne / gist:b8b4b6fc175e11fbd8340f0841f9e30c
Last active January 23, 2024 22:30
Restart jekyll serve on _config.yml change
#!/bin/bash
REF_FILE="./.reftime"
ALL_PARAMS=$@
# Function to start to serve in the background
start_process() {
echo -e "\nStarting to serve...\n"
reset_watcher