Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): change port to targetPort when framework is #custom #1573

Merged
merged 1 commit into from
Nov 19, 2020
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 docs/netlify-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Netlify Dev is meant to work with zero config for the majority of users, by usin
functions = "functions" # netlify dev uses this directory to scaffold and serve your functions
publish = "dist"

# note: each of these fields are OPTIONAL, with an exception that when you're specifying "command" and "port", you must specify framework = "#custom"
# note: each of these fields are OPTIONAL, with an exception that when you're specifying "command" and "targetPort", you must specify framework = "#custom"
[dev]
command = "yarn start" # Command to start your dev server
targetPort = 3000 # The port for your application server, framework or site generator
Expand Down