summaryrefslogtreecommitdiff
path: root/scripts/cmd
diff options
context:
space:
mode:
authorGravatar Nate Moore <natemoo-re@users.noreply.github.com> 2023-11-09 10:55:29 -0500
committerGravatar GitHub <noreply@github.com> 2023-11-09 09:55:29 -0600
commit3e1239e42b99bf069265393dc359bf967fc64902 (patch)
tree674357f8282e28af77c72c348deceda670918f28 /scripts/cmd
parent5b16619e4ad9bbbf7a1519899b7f5dd1b850562a (diff)
downloadastro-3e1239e42b99bf069265393dc359bf967fc64902.tar.gz
astro-3e1239e42b99bf069265393dc359bf967fc64902.tar.zst
astro-3e1239e42b99bf069265393dc359bf967fc64902.zip
Content Collection cache (experimental) (#8854)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Diffstat (limited to 'scripts/cmd')
-rw-r--r--scripts/cmd/copy.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cmd/copy.js b/scripts/cmd/copy.js
index 1e64a793d..377a60a39 100644
--- a/scripts/cmd/copy.js
+++ b/scripts/cmd/copy.js
@@ -65,7 +65,7 @@ export default async function copy() {
const dest = resolve(file.replace(/^[^/]+/, 'dist'));
return fs
.mkdir(dirname(dest), { recursive: true })
- .then(() => fs.copyFile(resolve(file), dest));
+ .then(() => fs.copyFile(resolve(file), dest, fs.constants.COPYFILE_FICLONE));
})
);
}