From 030b23de7a43d646ac828a3323c377aa2be8ba24 Mon Sep 17 00:00:00 2001 From: Panos Sakkos Date: Fri, 26 Jul 2024 00:00:15 +0300 Subject: [PATCH] fix jekyll regeneration in docker --- Dockerfile | 2 +- README.md | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 222921ed5..77094fb35 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,4 +7,4 @@ COPY . . RUN ruby bin/generate_tags.rb RUN ruby bin/generate_categories.rb -CMD ["jekyll", "serve", "--watch", "--host", "0.0.0.0", "--config", "_config.yml"] +CMD ["jekyll", "serve", "--livereload", "--force_polling"] diff --git a/README.md b/README.md index 9387ff4eb..a50d57a49 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,7 @@ Fork the repository and: ## How to run locally You can use Docker to run the website to avoid installing any dependencies to -your local environment, at the cost of not being able to hotreload your changes. -To do so, run: +your local environment. To do so, run: ```shell docker-compose up --build