1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-19 14:14:17 +00:00

feat(dev): support vscode dev-container (#1781)

This commit is contained in:
Cotes Chung
2024-06-03 21:12:54 +08:00
committed by GitHub
parent 1c5fa0880d
commit 1e3d4a6323
8 changed files with 59 additions and 19 deletions

View File

@@ -46,5 +46,9 @@ if $prod; then
command="JEKYLL_ENV=production $command"
fi
if [ -e /proc/1/cgroup ] && grep -q docker /proc/1/cgroup; then
command="$command --force_polling"
fi
echo -e "\n> $command\n"
eval "$command"