summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/static-site.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/static-site.php b/bin/static-site.php
index b121964..8b76555 100755
--- a/bin/static-site.php
+++ b/bin/static-site.php
@@ -74,7 +74,7 @@ exec(
. escapeshellarg($inputDirectory . DIRECTORY_SEPARATOR) . ' '
. escapeshellarg($outputDirectory));
-exec('find ' . escapeshellarg(compile_path('caches')) . ' -type f -delete');
+exec('find ' . escapeshellarg(compile_path('caches')) . ' -type f -not -name .gitignore -delete');
$bootstrapper = compile_path(['include', 'setup.php']);
require_once($bootstrapper);