diff --git a/src/build-dir.ts b/src/build-dir.ts index 81e49ce77f..1e362a66c0 100644 --- a/src/build-dir.ts +++ b/src/build-dir.ts @@ -77,11 +77,10 @@ export class BuildDir { } private async sync(sourcePath: string, destinationPath: string): Promise { - await ensureDir(destinationPath) const syncCmd = new Rsync() - .flags(["a"]) + .flags(["r", "p", "t", "g", "o"]) .source(sourcePath) .destination(destinationPath)