Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

fix serve functions.. and correct the root cause of localhost:30001 bug #71

Merged
merged 1 commit into from
Apr 2, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/commands/dev/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down