mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 04:14:59 +00:00
perf: optimize Jekyll build with incremental and livereload options
This commit is contained in:
parent
6fa9af20c0
commit
a3554a95c5
1 changed files with 6 additions and 3 deletions
|
@ -1,13 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Run the Docker container
|
||||
# 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
|
||||
my-jekyll-site bundle exec jekyll serve --incremental --livereload
|
||||
|
||||
# --entrypoint /bin/bash \
|
||||
# Additional options:
|
||||
# --incremental: Only rebuilds files that changed
|
||||
# --livereload: Auto-refreshes browser when content changes
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue