Skip to content

Commit

Permalink
fix: styleguide port settings
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Lyons <pete@reactioncommerce.com>
  • Loading branch information
focusaurus committed Jun 14, 2019
1 parent 2dd4d4f commit b00697a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions bin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,5 @@ declare -a args=(
--silent
)
yarn "${args[@]}"
cd package
yarn "${args[@]}"
yarn build
(cd package && yarn "${args[@]}" && yarn build)
yarn styleguide:build
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

[dev]
command = "yarn styleguide:build" # Command to start your dev server
port = 3999
port = 6060
2 changes: 1 addition & 1 deletion styleguide.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ module.exports = {
pagePerSection: true,
showCode: true,
showUsage: true,
serverPort: Number(process.env.PORT),
serverPort: Number(process.env.PORT || 6060),
assetsDir: "styleguide/src/assets/",
styleguideDir: "styleguide/dist",
template: "styleguide/src/index.html"
Expand Down

0 comments on commit b00697a

Please sign in to comment.