diff options
author | 2023-11-09 10:55:29 -0500 | |
---|---|---|
committer | 2023-11-09 09:55:29 -0600 | |
commit | 3e1239e42b99bf069265393dc359bf967fc64902 (patch) | |
tree | 674357f8282e28af77c72c348deceda670918f28 /scripts/cmd/copy.js | |
parent | 5b16619e4ad9bbbf7a1519899b7f5dd1b850562a (diff) | |
download | astro-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/copy.js')
-rw-r--r-- | scripts/cmd/copy.js | 2 |
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)); }) ); } |