npm package diff

Package: @forge/tunnel

Versions: 5.5.0-next.13 - 5.5.0-next.14

File: package/out/command/interactors/tunnel-interactor.js

Index: package/out/command/interactors/tunnel-interactor.js
===================================================================
--- package/out/command/interactors/tunnel-interactor.js
+++ package/out/command/interactors/tunnel-interactor.js
@@ -54,9 +54,9 @@
             }
         });
     }
     watchApp = async (startTunnelResult, tunnelOptions = cli_shared_1.defaultNoDebugTunnelOptions) => {
-        const { localPort, inspectorAddress, reloadSandboxes, devServers } = startTunnelResult;
+        const { localPort, inspectorAddress, reloadSandboxes, faasServer, uiServers } = startTunnelResult;
         if (inspectorAddress) {
             this.logger.info(cli_shared_1.Text.tunnel.startedInspector(inspectorAddress));
         }
         const onBundlingStart = async () => {
@@ -80,26 +80,24 @@
             }
             this.logger.info('');
             this.logger.info(cli_shared_1.Text.tunnel.startedServer(localPort, this.logger.debugEnabled) + '\n');
         };
-        if (devServers.length > 0) {
-            const multiCompiler = new multi_compiler_watcher_1.MultiCompilerWatcher(devServers);
-            await (0, bundler_1.runLinter)();
-            this.logger.info(cli_shared_1.Text.tunnel.preBundleTask(cli_shared_1.Text.tunnel.bundlingHeader));
-            try {
-                const output = await multiCompiler.compileAndWatch({
-                    onChange: {
-                        onBuildWillStart: onBundlingStart,
-                        onBuildFinished: onBundlingFinish
-                    }
-                }, tunnelOptions);
-                await reloadSandboxes(output, tunnelOptions);
-                this.logger.info('');
-                this.logger.info(cli_shared_1.Text.tunnel.startedServer(localPort, this.logger.debugEnabled) + '\n');
-            }
-            catch (_) {
-            }
-            return multiCompiler;
+        const multiCompiler = new multi_compiler_watcher_1.MultiCompilerWatcher(faasServer, uiServers);
+        await (0, bundler_1.runLinter)();
+        this.logger.info(cli_shared_1.Text.tunnel.preBundleTask(cli_shared_1.Text.tunnel.bundlingHeader));
+        try {
+            const output = await multiCompiler.compileAndWatch({
+                onChange: {
+                    onBuildWillStart: onBundlingStart,
+                    onBuildFinished: onBundlingFinish
+                }
+            }, tunnelOptions);
+            await reloadSandboxes(output, tunnelOptions);
+            this.logger.info('');
+            this.logger.info(cli_shared_1.Text.tunnel.startedServer(localPort, this.logger.debugEnabled) + '\n');
         }
+        catch (_) {
+        }
+        return multiCompiler;
     };
 }
 exports.TunnelInteractor = TunnelInteractor;