Skip to content

Commit a17d376

Browse files
committed
Don't livesync tns_modules folder for iOS device
1 parent af5e63d commit a17d376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/providers/livesync-provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export class LiveSyncProvider implements ILiveSyncProvider {
6565
temp.track();
6666
let tempZip = temp.path({prefix: "sync", suffix: ".zip"});
6767
this.$logger.trace("Creating zip file: " + tempZip);
68-
this.$childProcess.spawnFromEvent("zip", [ "-r", "-0", tempZip, "app" ], "close", { cwd: path.dirname(projectFilesPath) }).wait();
68+
this.$childProcess.spawnFromEvent("zip", [ "-r", "-0", tempZip, "app", "-x", "app/tns_modules/*" ], "close", { cwd: path.dirname(projectFilesPath) }).wait();
6969

7070
deviceAppData.device.fileSystem.transferFiles(deviceAppData, [{
7171
getLocalPath: () => tempZip,

0 commit comments

Comments
 (0)