From 76bbe9f4ec43240aa73fb89fac24b9fb963a2fa3 Mon Sep 17 00:00:00 2001 From: Amir Pourmand Date: Thu, 19 Sep 2024 07:59:34 +0330 Subject: [PATCH] Update entry_point.sh --- bin/entry_point.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/entry_point.sh b/bin/entry_point.sh index 917ae3572a6a..ff03df077476 100755 --- a/bin/entry_point.sh +++ b/bin/entry_point.sh @@ -2,7 +2,7 @@ CONFIG_FILE=_config.yml -/bin/bash -c "rm -f Gemfile.lock && exec jekyll serve --watch --port=8080 --host=0.0.0.0 --livereload --verbose --trace --force_polling"& +/bin/bash -c "git restore Gemfile.lock && exec jekyll serve --watch --port=8080 --host=0.0.0.0 --livereload --verbose --trace --force_polling"& while true; do @@ -15,7 +15,7 @@ while true; do jekyll_pid=$(pgrep -f jekyll) kill -KILL $jekyll_pid - /bin/bash -c "rm -f Gemfile.lock && exec jekyll serve --watch --port=8080 --host=0.0.0.0 --livereload --verbose --trace --force_polling"& + /bin/bash -c "git restore Gemfile.lock && exec jekyll serve --watch --port=8080 --host=0.0.0.0 --livereload --verbose --trace --force_polling"& fi