diff --git a/src/commands/dev/index.js b/src/commands/dev/index.js index b002923..0e59394 100644 --- a/src/commands/dev/index.js +++ b/src/commands/dev/index.js @@ -146,7 +146,7 @@ class DevCommand extends Command { startDevServer(settings, this.log, this.error) if (functionsDir) { - const fnSettings = await serveFunctions({ functionsDir }) + const fnSettings = await serveFunctions({ ...settings, functionsDir }) settings.functionsPort = fnSettings.port }