aider/scripts/jekyll_run.sh
Paul Gauthier f1d00dbd7f better
2025-03-14 11:59:25 -07:00

16 lines
453 B
Bash
Executable file

#!/bin/bash
# Run the Docker container with optimizations for faster builds
docker run \
--rm \
-v "$PWD/aider/website:/site" \
-p 4000:4000 \
-e HISTFILE=/site/.bash_history \
-e JEKYLL_ENV=development \
-it \
my-jekyll-site bundle exec jekyll serve --host 0.0.0.0 $*
# Additional options:
# --incremental: Only rebuilds files that changed
# --livereload: Auto-refreshes browser when content changes