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

Commit d947f1a

Browse files
authored
Merge pull request #71 from netlify/fixServeFunctions
fix serve functions.. and correct the root cause of localhost:30001 bug
2 parents 9648d86 + c526e38 commit d947f1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/dev/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ class DevCommand extends Command {
146146
startDevServer(settings, this.log, this.error)
147147

148148
if (functionsDir) {
149-
const fnSettings = await serveFunctions({ functionsDir })
149+
const fnSettings = await serveFunctions({ ...settings, functionsDir })
150150
settings.functionsPort = fnSettings.port
151151
}
152152

0 commit comments

Comments
 (0)