@forge/tunnel

7.1.2-next.3-experimental-e9e08bb7.1.2-next.4
out/command/interactors/function-change-watcher.js
~out/command/interactors/function-change-watcher.jsModified
+3−5
Index: package/out/command/interactors/function-change-watcher.js
===================================================================
--- package/out/command/interactors/function-change-watcher.js
+++ package/out/command/interactors/function-change-watcher.js
@@ -26,13 +26,11 @@
         this.currentSandboxPath = path_1.default.resolve(cli_shared_1.TUNNEL_BUNDLE_DIRECTORY);
         if (path_1.default.resolve(bundledCode.outputDir) !== this.currentSandboxPath) {
             additionalOutputs = (0, bundler_1.mergeOutputs)(additionalOutputs, new Map([['', bundledCode.outputDir]]));
         }
-        if (additionalOutputs.size > 0) {
-            const archiver = new cli_shared_1.DirectoryArchiver(this.currentSandboxPath);
-            archiver.addMany(additionalOutputs);
-            await archiver.finalise();
-        }
+        const archiver = new cli_shared_1.DirectoryArchiver(this.currentSandboxPath, false);
+        archiver.addMany(additionalOutputs);
+        await archiver.finalise();
         await this.initializeSandboxes();
         runtime_1.StaticInvocationEventEmitter.addListener(runtime_1.EVENT_P3_LOG, this.onRuntimeLog);
     }
     async stopWatching() {