aider/scripts/jekyll_run.sh
2025-03-13 17:39:51 -07:00

16 lines
477 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 --incremental --livereload
# Additional options:
# --incremental: Only rebuilds files that changed
# --livereload: Auto-refreshes browser when content changes